summaryrefslogtreecommitdiffstats
path: root/system/helpers/date_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2012-06-22Added optional fourth parameter to timezone_menuMat Whitney1-2/+18
allows setting one or more attributes on the generated select tag. This allows passing attributes needed for Section 508 compliance § 1194.22(n), such as an id. http://access-board.gov/sec508/guide/1194.22.htm#(n) http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels
2012-06-16Fix local_to_gmt()Andrey Andreev1-7/+7
2012-06-15Fix issue #520Andrey Andreev1-0/+4
2012-06-14Improve date helper functions human_to_unix() and nice_date()Andrey Andreev1-37/+14
2012-06-14Some date helper improvementsAndrey Andreev1-60/+43
2012-06-14Some optimizations to the date helperAndrey Andreev1-10/+8
2012-06-13Fixed some stuff in documentation.Iban Eguia1-2/+2
2012-06-12Changed the config parameter. The session's _get_time() function has also ↵Iban Eguia1-1/+1
changed.
2012-06-11Optimized now() function. Thanks to @narfbgIban Eguia1-13/+8
2012-06-09Fixed timezone change in index.phpIban Eguia1-4/+10
Now it does not ever change the local timezone, and it adds the option to get the 'local' time()
2012-06-08Merge remote-tracking branch 'upstream/develop' into new_dateIban Eguia1-174/+171
2012-06-04Revert/optimize some changes from 773ccc318f2769c9b7579630569b5d8ba47b114b ↵Andrey Andreev1-5/+5
and d261b1e89c3d4d5191036d5a5660ef6764e593a0
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/helpersAlex Bilbie1-19/+19
2012-05-17Clean up the helpersAndrey Andreev1-34/+31
2012-04-27Fix docblocks A-HTimothy Warren1-122/+122
2012-03-27Added braces as requested.Iban Eguia1-0/+2
2012-03-27Added doccumentation for the new date helper.Iban Eguia1-1/+3
2012-03-27Changed Date helper to return time() based on the timezone parameter.Iban Eguia1-15/+9
2012-03-26Remove remaining access description lines from helpers + some style fixesAndrey Andreev1-41/+26
2012-03-26Clear some spaces and fix some inconsistencies in the Zip library and ↵Andrey Andreev1-1/+1
system/helpers/ files
2012-03-14Merge pull request #1165 from junap/developAndrey Andreev1-17/+23
Make timespan() helper show fuzzier periods if required
2012-03-14Merge branch 'feature/unit-tests' into developPhil Sturgeon1-3/+4
2012-03-14check array count for seconds unit tooRoger Herbert1-1/+1
2012-03-14changed default value for $units to 7Roger Herbert1-2/+2
2012-03-12updated docs & changelogRoger Herbert1-1/+2
2012-03-11AND -> &&Roger Herbert1-5/+5
2012-03-11refactored to start from latest version, also less diff painRoger Herbert1-15/+20
2012-03-11Revert "Make timespan() helper show fuzzier periods if required"Roger Herbert1-86/+45
This reverts commit 03dbcf0669abdddf6bb459a423b99e7aed73e453.
2012-03-11Make timespan() helper show fuzzier periods if requiredRoger Herbert1-45/+86
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-03-04Merged develop and fixed conflicts.Phil Sturgeon1-1/+1
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-25Merge branch 'develop' into feature/unit-testsGreg Aker1-35/+35
2011-12-19Fixed year and month seconds for timespan().Eric Barnes1-35/+35
2011-11-27Merge branch 'refs/heads/develop' into feature/unit-testsEric Barnes1-85/+107
Conflicts: user_guide/helpers/number_helper.html
2011-11-13Fix invalid date formatSyahril Zulkefli1-1/+1
2011-11-13Fix invalid date formatSyahril Zulkefli1-1/+1
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-30A bit more cleanup in the date helper.Greg Aker1-59/+54
2011-08-30CI Coding standards cleanup in the date helper.Greg Aker1-25/+40
2011-08-29Merge branch 'develop' into feature/unit-testsEric Barnes1-0/+66
2011-08-22Added a function that's able to take some really bad date formats from ↵Kyle Farris1-0/+66
systems that idiots wrote and convert them to something useful.
2011-08-20Merge branch 'develop' into feature/unit-testsGreg Aker1-11/+11
Conflicts: .hgignore
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-11/+11
broke the Typography class's string replacements, for instance
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-11/+11
broke the Typography class's string replacements, for instance
2011-05-04Added unit tests for date helper.Eric Barnes1-4/+5
2011-04-25Fixed double-space typo.Razican1-11/+11
2011-01-10Fixed a bug (#14628) where the DATE_ISO8601 variable was returning an ↵Greg Aker1-1/+1
incorrectly formatted date string.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1