Commit Graph

23 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 410e0d7db4 Allow numbers, - and . in date fields, select year and month by date 2021-10-17 19:35:02 +03:00
Vitaliy Filippov b10bab6bfe Build it 2021-09-19 23:15:48 +03:00
Vitaliy Filippov 82664ebeed Remove old code, leave only the "React" version
Now it can also be used instead of the old standalone pure-JS version through
a thin preact-React shim. Older calendar.css style also works with the new version.
Material Icons dependency is removed.
2021-09-19 23:15:48 +03:00
Vitaliy Filippov cf6f1bdc45 Another, React + Selectbox Picker based rewrite 2021-09-19 21:33:35 +03:00
Vitaliy Filippov 8ea8f1511d Hide calendar when input blurs, select 00:00:00 when no time is selected 2019-07-18 14:06:50 +03:00
Vitaliy Filippov 843ed7c889 Safari does not understand new Date(YYYY-MM-DD HH:MM:SS) 2018-12-04 00:29:00 +03:00
Vitaliy Filippov 95af62423c Fix non-react version positioning 2018-11-04 15:13:59 +03:00
Vitaliy Filippov 439a672aab Position correctly when near the right edge of window 2018-10-23 11:40:47 +03:00
Vitaliy Filippov af25b26fe8 Fix calendar always resetting to today instead of date entered in input
(by making the component fully controlled)
2018-10-09 19:02:20 +03:00
Vitaliy Filippov 2281fa2e25 Version with pReact. 18kb vs 10kb, but much cleaner (without "string callbacks") 2018-07-03 14:17:51 +03:00
Vitaliy Filippov 67d5de17f4 Correct standard style 2018-03-17 21:42:24 +03:00
Vitaliy Filippov e5c55c9f12 Reposition on change 2018-03-17 21:30:04 +03:00
Vitaliy Filippov 964930c39f Rewrite to es6 class 2018-03-17 21:02:20 +03:00
Vitaliy Filippov 3f3525efd3 Slightly more refactoring (allow options), add select styles to material css 2018-03-14 18:59:57 +03:00
Vitaliy Filippov e6497a0712 Material Design Styles 2018-03-14 03:23:29 +03:00
Vitaliy Filippov b90d125e92 Remove some spaghetti 2017-05-03 17:45:17 +03:00
vitalif a02fbbf2d2 add minified calendar with utils 2016-08-14 15:09:44 +03:00
vitalif 7784be4ff7 Update calendar.{css,js}: implement year and month tables instead of selects, fix leap years 2016-08-14 15:09:44 +03:00
vitalif 5978ddb1ba Update calendar 2016-08-14 15:09:41 +03:00
vitalif 8c726b6071 Update calendar.js 2016-08-14 15:09:41 +03:00
vitalif 5e7ae920d2 Update calendar.js 2016-08-14 15:09:41 +03:00
vitalif 4f9f5c4f78 Fix week start 2016-08-14 15:09:37 +03:00
vitalif 371f03040b Calendar js 2016-08-14 15:09:37 +03:00