ORIENT/modules/backend/formwidgets
Samuel Georges e772e87de5 Complete rebuild of datepicker form widget
The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference.

Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent.

There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended.
2016-04-24 09:33:39 +10:00
..
codeeditor More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
colorpicker Popup control now supports several sizes via `data-size` attribute: giant, huge, large, small, tiny. 2015-02-11 14:36:00 +11:00
datatable/partials Create initial DataTable form widget 2015-01-03 11:57:50 +11:00
datepicker Complete rebuild of datepicker form widget 2016-04-24 09:33:39 +10:00
fileupload Cut back the design 2016-04-22 08:21:08 +10:00
markdowneditor Spaces in URLs break Markdown syntax 2015-10-10 09:09:40 +11:00
permissioneditor Adds extra flavor to buttons 2016-04-07 20:17:48 +10:00
recordfinder More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
relation/partials Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
repeater Improve the multilingual support 2015-11-24 22:00:05 +01:00
richeditor More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
CodeEditor.php Combine editor preferences and backend preferences 2016-04-23 05:31:05 +10:00
ColorPicker.php These methods should be protected, update client lang 2015-08-04 10:01:17 +10:00
DataTable.php No it is not safe to share the alias and field name... 2016-03-17 19:50:34 +11:00
DatePicker.php Complete rebuild of datepicker form widget 2016-04-24 09:33:39 +10:00
FileUpload.php File model is now abstract 2016-04-05 19:47:06 +10:00
MarkdownEditor.php These methods should be protected, update client lang 2015-08-04 10:01:17 +10:00
PermissionEditor.php UI updates 2016-02-23 21:44:05 -08:00
RecordFinder.php Add conditions config to RecordFinder 2016-04-21 05:36:53 +10:00
Relation.php Merge common functionality in to FormModelWidget 2016-03-25 18:01:58 +11:00
Repeater.php Stops nested repeaters populating from previous sibling - Fixes #1381 2015-08-22 10:18:41 +10:00
RichEditor.php Complete multilingual richeditor support 2016-02-13 12:59:49 +11:00