MyGit

flatpickr/flatpickr

Fork: 1476 Star: 15787 (更新于 1970-01-01 00:00:00)

license: MIT

Language: TypeScript .

lightweight, powerful javascript datetimepicker with no dependencies

最后发布版本: v4.6.13 ( 2022-04-14 09:44:29)

官方网址 GitHub网址

flatpickr - javascript datetime picker

Actions Status

Coverage npm version CDNJS License

blue green confetti red default dark

Motivation

Almost every large SPA or project involves date and time input. Browser's native implementations of those are inconsistent and limited in functionality. Most other libraries require you to pull in heavy dependencies like jQuery, Bootstrap, and moment.js. I wanted something that was good-looking out of the box, dependency-free, powerful, and extensible.

Feature overview:

  • Dependency-free (no bloated bundles)
  • Simple, polished UX
  • Date + time input
  • Range selections
  • Ability to select multiple dates
  • Can be used as just a time picker
  • Display dates in a human-friendly format
  • Easily disable specific dates, date ranges, or any date using arbitrary logic
  • Week numbers
  • 51 locales
  • 8 colorful themes (incl. dark and material)
  • Numerous plugins
  • Libraries available for React, Angular, Vue, Ember, and more

flatpickr provides more functionality at a fraction of the size of other libraries.

Compatibility

IE9 and up, Edge, iOS Safari 6+, Chrome 8+, Firefox 6+

Install & Use

Demos and documentation: https://flatpickr.js.org

See also:

Supporting flatpickr

flatpickr will never change its license, pester users for donations, or engage in other user-hostile behavior.

Nevertheless, if you enjoyed working with this library or if its made your life easier, you can buy me a cup of coffee :)

Buy Me a Coffee at ko-fi.com

最近版本更新:(数据更新于 1970-01-01 00:00:00)

2022-04-14 09:44:29 v4.6.13

2022-03-13 02:41:25 v4.6.11

2022-03-06 22:36:48 v4.6.10

2020-12-26 04:30:17 v4.6.9

2020-12-21 04:46:21 v4.6.8

2020-12-20 03:14:39 v4.6.7

2020-08-10 21:05:04 v4.6.6

2020-08-10 11:34:52 v4.6.5

2019-09-26 16:10:16 v4.6.3

2019-07-15 19:30:29 v4.6.2

主题(topics):

date, datepicker, daterange, daterangepicker, datetime, datetime-picker, timepicker

flatpickr/flatpickr同语言 TypeScript最近更新仓库

2024-12-22 15:05:26 elizaOS/eliza

2024-12-21 21:40:12 lobehub/lobe-chat

2024-12-21 12:01:51 siyuan-note/siyuan

2024-12-21 09:15:35 MetaCubeX/metacubexd

2024-12-21 04:50:26 mediar-ai/screenpipe

2024-12-20 19:36:48 vitejs/vite