[PHP-DEV] Re: DateTime / Timezone funny behaviour, between different version

2015-11-17 Thread Martin Keckeis
Hello, 2015-11-17 11:40 GMT+01:00 Martin Keckeis : > Hello together, > > i just noticed that the date + timezone switching changed a lot last time? > > tl;dr https://3v4l.org/pSplY > > When taking a old datetime: > $date = \DateTime::createFromFormat('d.m.Y H:i:s', '01.01.1900 00:00:00', > new \D

Re: [PHP-DEV] Re: DateTime fixes and 5.4 release plan

2011-12-30 Thread Stas Malyshev
Hi! We have 1 week ~. Next week is RC5 and then I hope we can go for a golden release, or better said, final. But golden release as in no commit done between RC5 and final. If not, we can do a last RC6, bringing final for the end of January, which is not too bad either :) That's what I am sa

Re: [PHP-DEV] Re: DateTime fixes and 5.4 release plan

2011-12-29 Thread Pierre Joye
hi! On Fri, Dec 30, 2011 at 12:58 AM, Stas Malyshev wrote: > Hi! > > >> Can 5.4 final please be held off until the DateTime fixes for >> transitions (such as Standard / Daylight time) are fixed? >> https://wiki.php.net/rfc/datetime_and_daylight_saving_time > > > If somebody's willing to commit t

[PHP-DEV] Re: DateTime fixes and 5.4 release plan

2011-12-29 Thread Stas Malyshev
Hi! Can 5.4 final please be held off until the DateTime fixes for transitions (such as Standard / Daylight time) are fixed? https://wiki.php.net/rfc/datetime_and_daylight_saving_time If somebody's willing to commit to fixing them in some reasonable timeframe (like 2 weeks from now), then yes.

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Hans Lellelid wrote: > Is this DateTime comparison behavior actually intended to be different > from everything else? If there's some reason that DateTime object > properties cannot be compared to each other, wouldn't it be more > appropriate for them to always return FALSE ? In my POV this is e

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Michael Wallner wrote: > + if (!o2->time->sse_uptodate) { > + timelib_update_ts(o1->time, o1->time->tz_info); > + } Oh my, typo warning. -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/uns

[PHP-DEV] Re: DateTime object equality

2007-03-05 Thread Michael Wallner
Michael Wallner wrote: > Hans Lellelid wrote: > >> Is this DateTime comparison behavior actually intended to be different >> from everything else? If there's some reason that DateTime object >> properties cannot be compared to each other, wouldn't it be more >> appropriate for them to always retu

[PHP-DEV] Re: DateTime

2006-08-14 Thread Michael Wallner
Michael Wallner wrote: > Michael Walter wrote: >> Is it on purpose that DateTime objects cannot be cloned? > > It's on my TODO and I guess I'll have time this evening to look at it. Done--please check it out. Regards, -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsub

[PHP-DEV] Re: DateTime

2006-08-14 Thread Michael Wallner
Michael Walter wrote: > Is it on purpose that DateTime objects cannot be cloned? It's on my TODO and I guess I'll have time this evening to look at it. Regards, -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php