silverstripe-framework/core/model
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
..
fieldtypes FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00
Aggregate.php BUGFIX #5053 Aggregate::query() should not set an orderby clause, otherwise databases will complain (from r98776) 2010-04-14 03:31:06 +00:00
ComponentSet.php API CHANGE: removed deprecated removeByFilter() function 2009-11-26 22:18:59 +00:00
CurrentPageIdentifier.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
Database.php MINOR: use ENUM hack for dealing with SET legacy values (from r98042) 2010-04-13 01:49:58 +00:00
DatabaseAdmin.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
DataDifferencer.php FEATURE: Use tidied HTML in DataDifferencer (from r97018) 2010-04-12 03:31:35 +00:00
DataObject.php MINOR: groupby works for SQLite too (from r97985) 2010-04-13 01:46:51 +00:00
DataObjectDecorator.php API CHANGE #4929: Add $class argument to DataObjectDecorator::extraStatics() (from r97582) 2010-04-12 21:58:35 +00:00
DataObjectInterface.php MINOR formatting 2008-11-02 00:55:33 +00:00
DataObjectLog.php (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message) 2008-08-10 23:03:35 +00:00
DataObjectSet.php MINOR if the $fieldname to DOS->sort has a direction in it, split it out, and pass it. (from r96482) (from r98140) 2010-04-13 02:17:25 +00:00
DB.php MINOR Removed debug code (from r97910) 2010-04-13 01:43:44 +00:00
ErrorPage.php MINOR #4973 Automatically generate URLSegment for default records on SiteTree and ErrorPage instead of explicitly setting them (from r94352) 2009-12-16 05:39:09 +00:00
HiddenClass.php MINOR Unified @package PHPdoc (added where missing, removed duplicates) 2008-06-15 13:33:53 +00:00
Hierarchy.php MINOR Partially reverted r98382 which added unnecessarily defensive checking to Hierarchy->allChildren() (from r98404) 2010-04-13 03:23:18 +00:00
Image.php API CHANGE #3600 Inconsistency in File::getURL() which returns an absolute URL, when it should be relative - please use getAbsoluteURL() instead for old behaviour 2010-04-12 03:29:56 +00:00
MySQLDatabase.php MINOR: fixed typos in the comments (from r98201) 2010-04-13 02:28:13 +00:00
RedirectorPage.php MINOR better error reporting for broken redirector & virtual pages (from r97185) (from r98155) 2010-04-13 02:27:30 +00:00
SiteConfig.php ENHANCEMENT Allow user theme selection through SiteConfig, falling back to SSViewer::set_theme() as a default if there are none selected 2010-04-13 02:13:12 +00:00
SiteTree.php BUGFIX: Disable some permission caching for now, as it was breaking unit tests (from r98504) (from r99303) 2010-04-14 04:11:38 +00:00
SiteTreeDecorator.php MINOR Partially merged r66168 from branches/2.3 - the last merge was ignoring SiteTreeDecorator.php file which was necessary for the new googlesitemaps module compatiblity 2009-04-28 01:40:24 +00:00
SQLMap.php MINOR: Revert r86510 since it doesn't fit MySQL 2009-09-21 04:29:44 +00:00
SQLQuery.php MINOR remove sort direction when running canSortBy. Also added test coverage for this. (from r96428) (from r98138) 2010-04-13 02:16:50 +00:00
Translatable.php BUGFIX Don't allow translations of VirtualPage (until we can reliably copy data between locales) (see #5000) (from r98217) 2010-04-13 02:28:34 +00:00
Versioned.php APICHANGE: Refactor Versioned so a single state is kept for stage, archived date, or any module specific reading modes (from r98161) (from r98224) 2010-04-13 03:16:57 +00:00
VirtualPage.php BUGFIX: Fixed SiteTree_versions version numbers for published virtual pages. (from r98675) (from r99065) 2010-04-14 03:58:16 +00:00