silverstripe-framework/core/model
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
..
fieldtypes FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2011-02-02 14:18:38 +13:00
Aggregate.php BUGFIX #5053 Aggregate::query() should not set an orderby clause, otherwise databases will complain 2011-02-02 14:18:30 +13:00
ComponentSet.php API CHANGE Removed ComponentSet::removeByFilter() since it's not flexible enough and fixed calls to this from HtmlEditorField::saveInto() to use custom code instead 2011-02-02 14:17:53 +13: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 2011-02-02 14:18:19 +13:00
DatabaseAdmin.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
DataDifferencer.php FEATURE: Use tidied HTML in DataDifferencer 2011-02-02 14:18:09 +13:00
DataObject.php MINOR: groupby works for SQLite too 2011-02-02 14:18:18 +13:00
DataObjectDecorator.php API CHANGE #4929: Add $class argument to DataObjectDecorator::extraStatics() 2011-02-02 14:18:14 +13: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) 2011-02-02 14:18:23 +13:00
DB.php MINOR Removed debug code 2011-02-02 14:18:17 +13:00
ErrorPage.php MINOR #4973 Automatically generate URLSegment for default records on SiteTree and ErrorPage instead of explicitly setting them 2011-02-02 14:17:56 +13: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() 2011-02-02 14:18:27 +13: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 2011-02-02 14:18:08 +13:00
MySQLDatabase.php MINOR: fixed typos in the comments 2011-02-02 14:18:24 +13:00
RedirectorPage.php MINOR better error reporting for broken redirector & virtual pages (from r97185) 2011-02-02 14:18:24 +13:00
SiteConfig.php ENHANCEMENT Allow user theme selection through SiteConfig, falling back to SSViewer::set_theme() as a default if there are none selected 2011-02-02 14:18:22 +13:00
SiteTree.php BUGFIX: Disable some permission caching for now, as it was breaking unit tests (from r98504) 2011-02-02 14:18:37 +13: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) 2011-02-02 14:18:23 +13:00
Translatable.php BUGFIX Don't allow translations of VirtualPage (until we can reliably copy data between locales) (see #5000) 2011-02-02 14:18:24 +13:00
Versioned.php APICHANGE: Refactor Versioned so a single state is kept for stage, archived date, or any module specific reading modes (from r98161) 2011-02-02 14:18:24 +13:00
VirtualPage.php BUGFIX: Fixed SiteTree_versions version numbers for published virtual pages. (from r98675) 2011-02-02 14:18:35 +13:00
YamlFixture.php MINOR Allow creating fixture records without any columns by checking the fields exist first before doing a foreach() in YamlFixture::writeDataObject() 2011-02-02 14:18:19 +13:00