silverstripe-framework/core/model/fieldtypes
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
..
Boolean.php MINOR CHANGE: numeric datatypes changed to support array types 2009-10-01 21:03:52 +00:00
CompositeDBField.php MINOR Documentation for CompositeDBField 2009-05-27 00:32:37 +00:00
Currency.php FEATURE Added Money class for managing monetary amounts with currencies through the Money design pattern. Uses the CompositeDBField interface to contain multiple database columns in a single DBField 2009-05-05 08:10:51 +00:00
Date.php Add some nice date formats (from r95772) (from r98093) 2010-04-13 02:05:26 +00:00
Datetime.php FEATURE New DatetimeField class (form field wrapper composed of DateField andTimeField) 2010-04-14 04:38:40 +00:00
DBField.php API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog. 2009-10-26 03:06:31 +00:00
DBLocale.php ENHANCEMENT Added parameter to DBLocale->Nice() 2009-11-30 00:44:46 +00:00
Decimal.php API CHANGE Decimal now allows setting a default value properly 2010-04-13 01:53:13 +00:00
Double.php MINOR: use DB doubles only in MySQL, fall back to float (from r98178) 2010-04-13 02:27:46 +00:00
Enum.php MINOR: Better error message on bad Enum default (from r97979) 2010-04-13 01:45:53 +00:00
Float.php BUGFIX: modified float to have the same database table schema as int. Now defaults to zero and 'not null' (from r98847) 2010-04-14 03:45:20 +00:00
ForeignKey.php Merged from 2.3 2009-05-06 06:36:16 +00:00
HTMLText.php MINOR: Parse HTMLText and HTMLVarchar values with ShortcodeParser before inserting into a template. 2009-10-11 00:06:59 +00:00
HTMLVarchar.php MINOR: Parse HTMLText and HTMLVarchar values with ShortcodeParser before inserting into a template. 2009-10-11 00:06:59 +00:00
Int.php MINOR CHANGE: numeric datatypes changed to support array types 2009-10-01 21:03:52 +00:00
Money.php FEATURE: plug in Postful mailling function to Process, making faking process for testing the postful mail functions. The two faking processes is implemented in two functions LotTicketedBased::fakepopulate() and ISSOrderDecorator::fakepopulatepayment(). 2009-07-24 03:16:20 +00:00
MultiEnum.php MINOR: niced the way MultiEnums call requireField to give alternative adapter access (from r98043) 2010-04-13 01:50:15 +00:00
Percentage.php BUGFIX: Allow percentage fields to store 100%. Merged From 2.2 r83164 2009-07-29 23:58:27 +00:00
PrimaryKey.php Merged from 2.3 2009-05-06 06:36:16 +00:00
StringField.php API CHANGE: Added Lower and Upper methods to Varchar, Text, and Enum (from r91048) 2009-11-21 01:41:24 +00:00
Text.php BUGFIX Fixed Text::scaffoldFormField() showing a "Is Null" checkbox, even if nullifyEmpty is true 2009-11-03 22:27:56 +00:00
Time.php BUGFIX #4566 Time::Nice() and Time::Nice24() return bad results if there is no value (from r94353) 2009-12-16 05:39:23 +00:00
Varchar.php BUGFIX Fixed Text::scaffoldFormField() showing a "Is Null" checkbox, even if nullifyEmpty is true 2009-11-03 22:27:56 +00:00
Year.php API CHANGE: array data type now supported 2009-09-29 22:02:35 +00:00