-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[form-builder] [schema] Add datetime type with default input #275
Conversation
1c25499
to
f18447d
Compare
82cd3ce
to
401f1f1
Compare
I think this is ready to ship now.
Side note: in the future we should probably replace react-datepicker with a native |
4d694ed
to
ccd1500
Compare
Good job on the refactoring. Seems date/time is one of those areas where there is no perfect solution, just the least painful one. Hoping or a painless future! |
…/date-input to @sanity/rich-date-input
d541a20
to
95f21eb
Compare
* [base] Get rid of deprecatedDate type * [date-input] Rename common CSS file used by date input components * [schema] Enable the string-based date type * [date-input] Define string date part * [schema] RichDate type uses date internally * [date-input] Implement new string-based date type * [test-studio] Add string-based date type to test studio schema * [date-input] Include moment for a thinner Date.js * [date-input] Use moment without timezone db * [test-studio] Split dates schema * [date-input] Refactor out some common date methods to a shared file * [date-input] Move simple date input to form-builder and rename @santy/date-input to @sanity/rich-date-input * [base] Import richDate legacy schema from deprecated @sanity/date-input package * [form-builder] Add converter for richDate <=> datetime * [form-buidler] Remove inputUtc option * [form-builder] Disable keyboard navigation in date input * [form-builder] Simplify conversion from richDate to datetime
No description provided.