Review main Abandoned

32360[WIP][FEATURE] Add support for timezone rendering in BE datetime fields

Nikola Stojiljković CR 0 V 0 Hard +268 −46 updated 09/16/18, 23:34

Commit message

!!! NOT STABLE YET - WILL FOR SURE FAIL ATM ON SOME ENVIRONMENTS !!!

Includes:
* Added setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['storeDatesInUTC']
  which forces saving of TCEform date fields in UTC timezone,
* Added placeholders to date/datetime/time fields,
* Implemented support for configuring timezone and date format in the
  BE user settings,
* Implemented support for rendering dates using selected locale,
* Implemented support for timezones in datepicker (using moment.js),
* Force saving of date fields (the ones without the time) in UTC
  timezone (no matter of the storeDatesInUTC setting)

Pending:
* Add functional test for all date/time field types and supported
  database columns, and for both values of storeDatesInUTC
* Add acceptance tests for different combinations of:
  * client browser timezone
  * server timezone
  * selected timezone for display of the dates
  * storeDatesInUTC setting

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 16