silverstripe-framework/core
Ingo Schommer c945e23c62 FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField)
FEATURE New DateField and TimeField form classes with more consistent API and easier localization
API CHANGE Date/time parsing in DateField, TimeField and DatetimeField defaults to i18n::get_locale() ('en_US') instead of using en_NZ/en_GB specific parsing. Use i18n::set_locale('en_NZ') in mysite/_config.php to revert to old behaviour.
API CHANGE $timeformat constructor parameter in TimeField needs to be in ISO date notation (not PHP's date())
API CHANGE TimeField, DateField and related subclasses use Zend_Date for date parsing, meaning they're stricer than the previously used strtotime()
API CHANGE Removed DMYCalendarDateField and CalendarDateField, use DateField with setConfig('showcalendar')
API CHANGE Removed CompositeDateField, DMYDateField, use DateField with setConfig('dmyfields')
API CHANGE Removed DropdownTimeField, use TimeField with setConfig('showdropdown')
API CHANGE Removed PopupDateTimeField, use DatetimeField
API CHANGE Changed 'date', 'month' and 'year' HTML field names to lowercase in DMYDateField
API CHANGE Removed support for ambiguous date formats in DateField, e.g. '06/03/03'. Use DateField->setConfig('dateformat', '<format>') to revert to this behaviour.
API CHANGE Removed $futureOnly flag from DateField, CalendarDateField etc., use DateField->setConfig('min') and DateField->setConfig('max')
ENHANCEMENT Using Zend_Date for DateField and TimeField, with more robust date handling, starting localization support. Set globally via i18n::set_locale(), or for a field instance through setLocale(). Note: Javascript validation is not localized yet.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99360 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:18:38 +13:00
..
control MINOR Documentation 2011-02-02 14:18:37 +13:00
model FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
ArrayData.php Merged from 2.3 2009-03-04 03:44:11 +00:00
ArrayLib.php MINOR Documented and unit tested ArrayLib::invert() (merged from branches/2.3-nzct) 2009-07-17 00:01:06 +00:00
ClassInfo.php API CHANGE: Don't generate TestOnly DataObjects in the database immediately; instead let test developers specify them in SapphireTest::$extraDataObjects. 2011-02-02 14:18:04 +13:00
Convert.php MINOR Merged from branches/2.3 2009-07-16 03:44:15 +00:00
Cookie.php BUGFIX: alternative function for versions of PHP prior to version 5.2 2011-02-02 14:18:01 +13:00
Core.php MINOR Added brackets around strpos() check just to be sure it works 2011-02-02 14:18:32 +13:00
Extension.php API CHANGE: Extension no longer inherits from Object. 2009-08-11 08:35:14 +00:00
HTTP.php API CHANGE HTTP::setGetVar() always returns absolute URLs. Use Director::makeRelative() to make them relative again. 2011-02-02 14:18:26 +13:00
i18n.php BUGFIX #4609: Fixed portoguese locales in common locales list. 2009-10-31 01:39:36 +00:00
i18nEntityProvider.php Merged changes from 2.3 branch 2009-02-01 23:49:53 +00:00
i18nTextCollector.php BUGFIX Fixed newlines working properly across different platforms - Windows, for example, won't work properly with just \n so use PHP_EOL for a cross-platform solution 2011-02-02 14:17:38 +13:00
i18nTextCollectorTask.php MINOR Unified permission control for i18nTextCollectorTask, TaskRunner, TestRunner, ModelViewer, DevelopmentAdmin, TestViewer, MigrateTranslatableTask 2009-09-10 01:49:56 +00:00
ManifestBuilder.php BUGFIX: Fixed ManifestBuilder::has_been_included() 2011-02-02 14:18:30 +13:00
Object.php BUGFIX #4929: Fixed Object::add_static_vars() for uninherited static.s 2011-02-02 14:18:14 +13:00
Requirements.php BUGFIX: include customHeadScripts in clear rule. 2011-02-02 14:17:58 +13:00
Session.php FEATURE: added Session::clearAll() functionality. ENHANCEMENT: Added Unit Tests covering Session API. MINOR: Tided up formatting in session class and included doc comments for API level documentation 2011-02-02 14:18:09 +13:00
SSViewer.php BUGFIX: Updated SiteConfig-based theme selection to remove inappropriate coupling from SSViewer 2011-02-02 14:18:25 +13:00
TokenisedRegularExpression.php Merged in parent::__construct() additions from branches/2.3 - r83580 and r83587 2009-09-18 03:02:19 +00:00
ValidationException.php MINOR phpdoc documentation 2009-03-22 22:59:14 +00:00
ValidationResult.php MINOR Removed message alteration from ValidationResult->error() to make it more predictable for string matching in unit tests like SecurityTest 2011-02-02 14:18:25 +13:00
ViewableData.php MINOR: Edit-case checking of data in ViewableData::$failover for better error message. (from r95560) 2011-02-02 14:18:20 +13:00