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
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
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