ORIENT/modules/backend/assets/js
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
..
auth Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00
preferences Combine editor preferences and backend preferences 2016-04-23 05:31:05 +10:00
vendor Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
backend.js Sweet alert logic has grown large enough to warrant its own file 2015-08-15 09:53:55 +10:00
october-min.js Complete rebuild of datepicker form widget 2016-04-24 09:33:39 +10:00
october.alert.js Tidy up backend alerts, make long text in alerts readable 2015-08-22 13:41:57 +10:00
october.autocomplete.js Added autocomplete column type to the Table widget 2015-11-17 21:26:03 -08:00
october.datetime.js Complete rebuild of datepicker form widget 2016-04-24 09:33:39 +10:00
october.filelist.js Implemented Flyout layout control, minor improvements in the file list control and back-end styles. 2015-07-07 21:37:18 -07:00
october.flyout.js Minor fix in the flyout implementation 2015-11-11 20:18:38 -08:00
october.js Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
october.lang.js Ensure the client side language file is properly loaded 2015-08-15 09:46:26 +10:00
october.layout.js More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
october.navbar.js Rebuilt the mobile navigation. 2016-04-04 22:12:19 +10:00
october.scrollbar.js Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
october.scrollpad.js Added new list.sortable plugin. Minor fix in the scrollpad implementation. 2015-11-27 22:12:27 -08:00
october.sidenav-tree.js The Settings area is responsive now 2014-07-28 15:09:01 +11:00
october.sidenav.js Adds an API to the sidenav script for setting the active item 2016-04-05 20:02:25 +10:00
october.sidepaneltab.js Adds an API to the sidenav script for setting the active item 2016-04-05 20:02:25 +10:00
october.simplelist.js Move docs out of JS file 2015-09-26 08:29:17 +10:00
october.tabformexpandcontrols.js Added the tab form expand controls JS class. Temporary update in the _head layout. 2015-08-13 18:27:14 -07:00
october.treelist.js Fixes a problem with sorting new added menu items. Fixes https://github.com/rainlab/pages-plugin/issues/41 2015-05-18 14:03:28 -07:00
october.treeview.js Fixes a problem with sorting new added menu items. Fixes https://github.com/rainlab/pages-plugin/issues/41 2015-05-18 14:03:28 -07:00
october.verticalmenu.js Rebuilt the mobile navigation. 2016-04-04 22:12:19 +10:00