17 Commits

Author SHA1 Message Date
141a2eba56 refactor: convert function expressions to declarations (#4926) 2021-02-08 20:01:21 +02:00
cb2ad687ee Feat: multi content authoring (#4139) 2020-09-20 20:30:46 +03:00
88a5a8098e fix: deprecate inconsistent config param case (#4172) 2020-08-31 14:25:48 +03:00
2b46608f86 feat: add widgets schema validation (#3841) 2020-06-03 16:43:34 +03:00
ef5ff031da feat: add pickerUtc option to datetime widget (#3721)
I have a field that I would like to contain just a date (with no specific
time). When I configure the datetime widget with sensible options for
a date-only field, dates are stored properly in the saved markdown,
but when I load those dates in the UI, I see the date before.

This is happening because the DateTime component from the
react-datetime library uses local timezones. It loads the date as the
start of day UTC and then converts to the local timezone, which is
going to be the previous day in any timezone with a negative UTC offset,
including all of the Americas.

This change adds a pickerUtc option to the datetime widget so that users
can specify when they would like the datetime picker to display times in
UTC rather than in the local timezone. By setting this new option to
true on date-only fields, users can ensure that everyone sees the same
date in the picker regardless of local timezones.
2020-05-13 11:44:01 +03:00
79b8469337 feat(widget-datetime): add now to datepicker (#3484) 2020-04-12 18:17:01 +03:00
4afbbdd8a9 feat(yaml): support comments (#3529) 2020-04-07 15:00:06 +03:00
8cc5fcbb19 fix(widget-datetime): use default value when value is undefined (#3269) 2020-02-17 17:05:18 +02:00
d058697644 fix(widget-date): allow empty value (#2705) 2019-10-23 14:01:25 -04:00
65d49dae9a chore: update datetime widget and deprecate date widget (#2615) 2019-09-05 16:16:55 -04:00
b4041d3971 chore: refine named exports (#2249) 2019-03-27 16:47:28 -04:00
0b5d6d9c20 chore: fix develop watch (#2237) 2019-03-25 13:57:17 -04:00
00a176b34a chore: fix local development 2019-03-22 18:18:30 -04:00
82cc7941cc feat: provide usable UMD builds for all packages (#2141) 2019-03-16 18:44:29 -04:00
ccef446d72 feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
2efd09ba94 migrate file and image widgets 2018-07-25 21:17:57 -04:00
e80a407cee migrate date and datetime widgets 2018-07-25 21:17:57 -04:00