Derick Rethans
0ae51b159e
- Fixed a bug with the YYYY-MM format not resetting the day correctly.
...
- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
relative time strings.
- Fixed return values of all the modifying methods, they now properly return
the object itself.
2008-07-30 17:48:21 +00:00
Jani Taskinen
357c16c598
ws
2008-07-30 08:13:02 +00:00
Dmitry Stogov
fbb84e37d8
Fixed memory leak
2008-07-29 12:56:18 +00:00
Derick Rethans
d4210b7a4a
- Fixed DateTime::setTimestamp() and added a test for it.
2008-07-27 19:09:37 +00:00
Derick Rethans
e8803bb0ff
- Fixed bug #45562 (Creating instance of DatePeriod crashes).
2008-07-20 20:58:35 +00:00
Derick Rethans
18a53456d3
- Country codes are ISO 3166.
2008-07-19 17:38:15 +00:00
Derick Rethans
998bd9d485
- Added support for selectively listing timezone identifiers by country code
...
through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- Added timezone_location_get() / DateTimezone::getLocation() for retrieving
location information from timezones.
2008-07-18 14:33:27 +00:00
Derick Rethans
5871211091
- MF53: Fixed segfault.
2008-07-16 12:35:45 +00:00
Derick Rethans
d681181892
- Fixed reversed logic.
2008-07-14 17:38:19 +00:00
Derick Rethans
e1787110f1
- Added a warning to the error struct in case a parsed-date was found to be
...
invalid.
2008-07-14 17:30:09 +00:00
Felipe Pena
83a2c2f87c
- MFB: Added arginfo
2008-07-09 12:51:26 +00:00
Derick Rethans
d5bc2d0682
- Fixed a memleak (Original patch by Hannes Magnusson).
2008-07-08 19:29:06 +00:00
Derick Rethans
a339c57e1d
- Replaced // by /* .. */ comments.
2008-07-08 17:56:36 +00:00
Derick Rethans
698b0f818f
- Fixed memory leaks and segfaults, patch by Joe Orton.
...
- Fixed bug #45038 (Crash when using DateTimeZone object returned by
Date::getTimezone).
2008-07-08 17:40:35 +00:00
Antony Dovgal
a9ebb2170b
fix ZTS build
2008-06-07 22:41:02 +00:00
Henrique do Nascimento Angelo
15b3e07f5a
Add Unicode support and set as unicode compatible
2008-06-07 20:30:30 +00:00
Antony Dovgal
1db4d44c7b
fix function signature and silence compile warning
2008-05-20 12:07:13 +00:00
Ilia Alshanetsky
5576983a3e
MFB: kill unused vars
2008-05-07 23:46:11 +00:00
Derick Rethans
92975a6319
- Added support for using ISO 8601 time intervals to define a DatePeriod
...
iterator.
2008-05-04 09:59:42 +00:00
Derick Rethans
a49676e4f3
- Added support for using an end date to limit the amount of recursions
...
with the DatePeriod iterator.
2008-05-03 10:59:14 +00:00
Derick Rethans
7599f7384b
- Fixed an issue in date() where a : was printed for the O modifier after a P
...
modifier was used.
2008-05-02 21:32:13 +00:00
Derick Rethans
2352d10de2
- Added DateInterval::createFromDateString() that creates an interval
...
from the relative parts of a date/time string.
- Fixed an issue where special relative bits were not applied.
#- @DOC
2008-05-02 12:48:19 +00:00
Derick Rethans
6205943023
- Rearranged some structures to allow for more powerfull period/intervals.
2008-05-01 16:14:29 +00:00
Derick Rethans
042867ecb8
- Include the starting date by default in the iterator output, but add an
...
option to disable this behavior.
2008-05-01 13:31:00 +00:00
Derick Rethans
b1960e2af3
- Added the DatePeriod class/iterator that iterates over a date time object
...
for a specific number of iterators and applies a DateInterval each time.
2008-05-01 00:10:25 +00:00
Derick Rethans
64b888c0fa
- MF53: Added new date/time functionality:
...
. support for diffing date/times through date_diff() / DateTime::diff().
. added DateInterval class to represent the difference between two date/times.
. support for parsing ISO intervals for use with DateInterval.
. date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
interval to an existing date/time.
2008-04-25 12:55:16 +00:00
Derick Rethans
62a4aff5f8
- MF52: Fixed bug #44703 (htmlspecialchars() does not detect bad character set
...
argument).
#- WIll merge to 5.3 later, that branch has some more modifications.
2008-04-16 17:24:00 +00:00
Derick Rethans
08534e1bee
- Fixed a bug in formatting timestamps when DST is active in the default
...
timezone.
2008-03-31 09:10:54 +00:00
Derick Rethans
993eb05f5b
- Fix the DateTimeZone::getTransitions() algorithm.
2008-03-20 19:43:02 +00:00
Ilia Alshanetsky
6cbde65afa
MFB: Remove unused variable
2008-03-16 15:15:47 +00:00
Felipe Pena
6779560ec5
Fix build (ZTS)
2008-03-14 17:57:44 +00:00
Derick Rethans
56ba1cf8fa
- Allow datetime objects to be serialized and woken up.
...
- Implemented __set_state().
2008-03-14 16:18:25 +00:00
Ilia Alshanetsky
d2827c1e6a
MFB: Initialize ts only after successful argument parsing
2008-03-09 18:10:09 +00:00
Ilia Alshanetsky
e9c77a5e92
MFB: Fixed a memory leak inside date_get_last_errors() when there are no
...
errors
2008-03-07 02:05:48 +00:00
Felipe Pena
2818d4fc51
New way for check void parameters
2008-03-04 23:39:15 +00:00
Derick Rethans
964189e41e
- Fixed bug #44260 (African timezones missing).
2008-02-27 09:47:23 +00:00
Derick Rethans
a39148adf7
- Fixed tests on 64bit platform.
2008-02-25 22:32:26 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +00:00
Derick Rethans
aa93ba42ff
- Add some missing elements from the return value.
2008-02-13 21:53:01 +00:00
Derick Rethans
2c2947f93d
- Make timezone_open() work again.
2008-02-02 17:25:40 +00:00
Derick Rethans
c3505930f0
- Make whitespace the same as in 5.3.
2008-01-29 20:12:23 +00:00
Derick Rethans
bc72c13db1
- Added two optional parameters to timezone_transitions_get() /
...
DateTimeZone::getTranstions() to limit the range of transitions being
returned.
2008-01-28 21:12:24 +00:00
Derick Rethans
ba5cc7524a
- MF53: Added missing folding tags.
2008-01-28 20:36:04 +00:00
Derick Rethans
b66faab7be
- Added DateTime::getTimestamp() / date_timestamp_get().
2008-01-28 20:29:40 +00:00
Derick Rethans
408a892458
- Update proto.
2008-01-27 17:44:16 +00:00
Derick Rethans
14665d9149
- Added support for selectively listing timezone identifiers through
...
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:28:58 +00:00
Antony Dovgal
2d5ff6a7b0
add missing TSRMLS_CC and fix segfaults in ZTS mode
2008-01-23 15:14:18 +00:00
Derick Rethans
19af2f67d1
- Fixed bug #43808 (date_create never fails (even when it should)).
2008-01-17 20:34:17 +00:00
Derick Rethans
da0da918c0
- Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
...
using a timestamp).
2008-01-17 19:58:24 +00:00
Derick Rethans
64c498bddd
- Added support for abbreviation and offset based timezone specifiers for
...
DateTime::getOffset() and DateTime::getName().
- Fixed bug #43527 (DateTime created from a timestamp reports environment
timezone).
- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates
DateTimeZone).
2008-01-17 18:48:44 +00:00