The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference. Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent. There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended. |
||
|---|---|---|
| bootstrap | ||
| config | ||
| modules | ||
| plugins/october/demo | ||
| storage | ||
| tests | ||
| themes/demo | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .htaccess | ||
| .travis.yml | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| README.md | ||
| artisan | ||
| composer.json | ||
| index.php | ||
| phpunit.xml | ||
| server.php | ||
README.md
October is a Content Management System (CMS) and web platform whose sole purpose is to make your development workflow simple again. It was born out of frustration with existing systems. We feel building websites has become a convoluted and confusing process that leaves developers unsatisfied. We want to turn you around to the simpler side and get back to basics.
October's mission is to show the world that web development is not rocket science.
Learning October
The best place to learn October is by reading the documentation or the resources page.
Installing October
Instructions on how to install October can be found at the installation guide.
Development Team
October was created by Alexey Bobkov and Samuel Georges, who both continue to develop the platform.
Coding standards
Please follow the following guides and code standards:
Foundation library
The CMS uses Laravel as a foundation PHP framework.
Using LESS
The theme is based on the Twitter Bootstrap framework and uses the LESS language for generating the CSS. Please use a suitable LESS application for compiling the assets/less/*.less file to assets/css/*.css. The following application is recommended:
Contact
You can communicate with us using the following mediums:
- Follow us on Twitter for announcements and updates.
- Follow us on Facebook for announcements and updates.
- Join us on IRC to chat with us.
License
The OctoberCMS platform is open-sourced software licensed under the MIT license.
Contributing
Before sending a Pull Request, be sure to review the Contributing Guidelines first.