Go to file
Ingo Schommer 1ec2abe75f Fixed timezone and normalised ISO handling
A few observations:
- ISO says “T” is optional (https://en.wikipedia.org/wiki/ISO_8601#cite_note-21),
- WHATWG says in the HTML5 spec that it’s optional (https://html.spec.whatwg.org/multipage/infrastructure.html#local-dates-and-times)
- W3C says it’s reqiured in 1997 (https://www.w3.org/TR/NOTE-datetime), but then later says it’s optional in its HTML5 spec (https://www.w3.org/TR/html5/infrastructure.html#floating-dates-and-times).
- Chrome doesn’t parse values with whitespace separators (requires "T")
- DataObject DBDatetime values and database columns use whitespace separators (and will have many devs relying on this format)
- MySQL only supports whitespace separators (https://dev.mysql.com/doc/refman/5.7/en/datetime.html)
- SQLite can parse both ways (https://sqlite.org/lang_datefunc.html)

So the goal here is to retain ORM/database compatibility with 3.x (whitespace separator),
while exposing "T" separators to the browser in HTML5 mode.

Regarding timezones, this fixes a regression where setValue() would not actually
apply the timezone (last $value assignment is ineffective now that sub fields are removed).
2017-04-26 22:55:29 +12:00
_config Improve the default LoginForm 2017-04-16 19:05:29 +12:00
.tx Remove legacy admin localisations from framework 2017-04-05 16:20:09 +12:00
client Update translations 2017-04-05 16:08:16 +12:00
docs Fixed timezone and normalised ISO handling 2017-04-26 22:55:29 +12:00
lang More specific localisations 2017-04-26 22:45:07 +12:00
src Fixed timezone and normalised ISO handling 2017-04-26 22:55:29 +12:00
templates Refactor DateTimeField not to use DateField and TimeField 2017-04-26 22:45:07 +12:00
tests Fixed timezone and normalised ISO handling 2017-04-26 22:55:29 +12:00
thirdparty Remove Zend_Translate_RailsYAML 2017-02-26 13:08:03 +13:00
_config.php Simplify config for admin removal 2017-03-14 10:22:45 +13:00
_register_database.php Setting default db adapter in installation as PDO MySQL with MySQLi as fail safe. 2016-11-02 19:51:13 +13:00
.codecov.yml Turn off codecov commenting on PRs 2016-10-12 16:31:22 +01:00
.editorconfig API Include psr-2 checks in CI 2016-11-29 13:00:58 +13:00
.gitattributes Moved frontend code from dist/ to src/ 2017-03-15 11:07:17 +13:00
.gitignore NEW: Don’t set up SilverStripe project for test run 2016-09-16 16:16:44 +12:00
.htaccess TinyMCE 4 optimisations. Use TinyMCE_Compressor. 2016-04-04 07:58:45 +12:00
.scrutinizer.yml Added better Scrutinizer support 2015-05-12 23:27:36 +12:00
.travis.yml API Enable namespaced-localisation keys in templates 2017-04-11 18:07:53 +12:00
.upgrade.yml API Refactor CMS-specific code out of LeftAndMain 2017-04-06 13:26:32 +12:00
cli-script.php Added check for register_argc_argv 2017-02-26 20:01:18 +10:00
composer.json Allow —no-dev install via a PHPUnit shim 2017-04-24 15:24:02 +12:00
CONTRIBUTING.md Add copyright note to contributing.md 2016-05-30 14:32:19 +12:00
LICENSE FIX: Add separate license file to match module standard. 2017-03-29 12:49:43 +13:00
main.css FIX stringify api call body to work for IE10 (#6032) 2016-09-21 14:45:30 +12:00
main.php API Substitute core config system with new silverstripe/config module 2017-02-27 16:54:01 +13:00
main.php5 MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
phpunit.xml.dist Update test configuration 2017-04-05 10:15:48 +12:00
README.md FIX: Add separate license file to match module standard. 2017-03-29 12:49:43 +13:00
sake Install sake into /usr/local/bin. /usr is now protected on OSX 2016-01-22 18:48:58 +00:00
silverstripe_version API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path 2012-02-01 18:42:21 +01:00
web.config Improve IIS security 2015-05-11 12:01:30 +12:00

SilverStripe Framework

Build Status Latest Stable Version Latest Unstable Version codecov Total Downloads License Dependency Status Reference Status helpfulrobot

PHP5 framework forming the base for the SilverStripe CMS (http://silverstripe.org). Requires a silverstripe-installer base project. Typically used alongside the cms module.

Installation

See installation on different platforms, and installation from source.

Bugtracker

Bugs are tracked on github.com. Please read our issue reporting guidelines.

Development and Contribution

If you would like to make changes to the SilverStripe core codebase, we have an extensive guide to contributing code.