1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

15 Commits

Author SHA1 Message Date
Nick Liu
f23aec7395
Replaced e_date::strptime() with eShims::strptime()
- NEW: Added \e107\Shims\Internal\StrptimeTrait, which implements PHP internal function
       strptime(). On not-Windows, the built-in function is called. If that function fails
       or if the operating system is Windows, the alternative pure PHP implementation is
       attempted. The first successful call is returned, or false if none are successful.
- MOD: Deprecated e_date::strptime() in favor of eShims::strptime()
- FIX: License misatributed for e_date::strptime() (now eShims::strptime()). The library
       used was public domain, not CC BY-NC-SA 2.0 FR by Lionel Sauron.
- MOD: Removed STRPTIME_COMPAT constant now that eShims::strptime() exists
- MOD: Removed support for calling e_date::strptime() with:
       - a localized full month name
       - a localized abbreviated month name
       - AM or PM
       - am or pm
       because these features were only implemented in Windows mode (STRPTIME_COMPAT).
- MOD: php_compatibility_handler.php now defines global strptime() using the
       eShims::strptime() implementation
- NEW: Test all(?) the possibilities of eShims::strptime()
2020-01-22 09:07:27 +01:00
Cameron
0b26a97217 Revert "Removed useless STRPTIME_COMPAT constant"
This reverts commit ce510159a9913b104e0c0a07d5018e774f47898b.

Added check for 'tm_hour' key.
2020-01-19 12:35:02 -08:00
Nick Liu
ce510159a9
Removed useless STRPTIME_COMPAT constant 2020-01-18 11:05:09 +01:00
Cameron
1d803612ab PHP7 User-Extended Fix. Checkboxes now working correctly and saving as an array. Some BC fixes may be needed. 2016-03-21 19:15:20 -07:00
Cameron
486f3d4961 Issue #1356 - PHP7 Fixes. 2016-02-14 12:15:55 -08:00
CaMer0n
d8a6c15c02 Major clean-up and enhancement of datepicker() and related functions 2012-05-26 12:21:39 +00:00
secretr
83f716ec3e php_compatibility_handler - JSON support added 2010-12-10 14:20:15 +00:00
e107steved
6df2cbd7e9 Documentation tweaks, remove functions supported in PHP5 2010-05-28 22:10:20 +00:00
secretr
f8b49748d5 admin UI: Filter Ajax autocomplete, filters are now executed via AJAX calls by default, needs cleanup (buggy in some cases); some more UI improvements 2009-11-11 20:57:34 +00:00
secretr
890bd0db44 date convert: added generic string to timestamp converter (toTime()); admin UI: textareas autoexpand now available sitewide (back-end), multi table JOIN support, field (db table) aliases support, user auto-complete search should work fine now, example usage added on faqs administration 2009-11-10 19:13:07 +00:00
mcfly
09fec54db4 Working on the xml class so we are using simplexml when available. Also have a php4 compatible function 2008-01-20 04:46:35 +00:00
e107steved
92ad2b1d2e Delete mime_content_type() - supported in all suitable versions of PHP (and deprecated anyway) 2008-01-06 20:59:48 +00:00
mcfly
892e8bc33a Bugtracker #4169 - Possible fix for redirect not working 2007-11-16 01:28:54 +00:00
e107steved
6000dba853 Support append on file_put_contents() emulation 2007-06-11 21:50:15 +00:00
mcfly
e149b35fcc new module creation 2006-12-02 04:36:16 +00:00