silverstripe-framework/core
Ingo Schommer 6227478f82 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  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  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. (from r99360)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102859 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 04:38:40 +00:00
..
control MINOR Added Requirements for SilverStripeNavigator (see r99080) (from r99097) 2010-04-14 04:08:02 +00:00
model FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00: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. 2010-04-12 02:03:16 +00: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 (from r96681) 2010-04-12 01:43:32 +00:00
Core.php MINOR Added brackets around strpos() check just to be sure it works (from r98898) 2010-04-14 03:48:52 +00: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. 2010-04-13 03:21:33 +00: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 2009-11-21 01:43:54 +00: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() (from r98693) 2010-04-14 03:30:30 +00:00
Object.php BUGFIX #4929: Fixed Object::add_static_vars() for uninherited static.s (from r97586) 2010-04-12 22:00:25 +00:00
Requirements.php BUGFIX: include customHeadScripts in clear rule. (from r94437) 2009-12-16 05:41:38 +00: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 (from r97024) 2010-04-12 03:32:28 +00:00
SSViewer.php BUGFIX: Updated SiteConfig-based theme selection to remove inappropriate coupling from SSViewer (from r98263) 2010-04-13 03:18:10 +00: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 (merged from r98275) 2010-02-23 04:31:47 +00:00
ViewableData.php MINOR: Edit-case checking of data in ViewableData::$failover for better error message. (from r95560) (from r98090) 2010-04-13 02:02:18 +00:00