From 507add8566a480a59201e40ba271d06fcdcfcb89 Mon Sep 17 00:00:00 2001 From: Saophalkun Ponlu Date: Fri, 21 Apr 2017 12:04:44 +1200 Subject: [PATCH] Update changelogs --- docs/en/04_Changelogs/4.0.0.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/en/04_Changelogs/4.0.0.md b/docs/en/04_Changelogs/4.0.0.md index c0266346a..f2cc7ea88 100644 --- a/docs/en/04_Changelogs/4.0.0.md +++ b/docs/en/04_Changelogs/4.0.0.md @@ -1397,8 +1397,13 @@ The below methods have been added or had their functionality updated to `DBDate` * `getFormatter` method added, which returns a locale-specific date/time formatter. `DBTime` specific changes: + * Added `DBTime::FormatFromSettings` +`DBDatetim` specific changes: + +* Changed `ISO_DATETIME`'s pattern from '`y-MM-dd HH:mm:ss`' to '`y-MM-dd\'T\'HH:mm:ss`' + #### ORM Removed API * `DataObject::db` removed and replaced with `DataObjectSchema::fieldSpec` and `DataObjectSchema::fieldSpecs` @@ -1670,6 +1675,12 @@ New `DatetimeField` methods replace `getConfig()` / `setConfig()`: * `getLocale()` / `setLocale()` * `datavaluefield` config is removed as internal data value is now fixed to ISO 8601 format +The `DatetimeField` has changed behaviour: + +* It no longer relies on `DateField` and `TimeField` +* Anything related to `DateField` and `TimeField` have been removed, e.g. `DatetimeField::getDateField()` +* Added `getHTML5()` / `setHTML5()` + New `DateField` methods replace `getConfig()` / `setConfig()`: * `getDateFormat()` / `setDateFormat()`