Hi Sven,
i completely agree my monday is not necessarily your monday, but my
monday is my monday independently of when i initiate it. my monday (a
few days ago) does _not begin at another utc because of a dst change in
the meantime. this behaviour could result in additional problems, apart
fr
Thanks for tips to external Date/Time implementation.
I implemented custom #= and #< methods in Date class as extension to solve my
issue.
It's sad a little, that base Date/Time classes is not enough and external libs
existed.
pf
>
> > On 26 Mar 2017, at 21:56, Stephane Ducasse wrote:
> >
> On 26 Mar 2017, at 21:56, Stephane Ducasse wrote:
>
> Did you check the Zn counterpart because I know that some parts are much
> better.
> But I do not have them at hand.
You mean ZTimestamp (but it is not a part of Zinc HTTP Components).
https://github.com/svenvc/ztimestamp
This is an UTC
Did you check the Zn counterpart because I know that some parts are much
better.
But I do not have them at hand.
Stef
On Sun, Mar 26, 2017 at 10:17 AM, Petr Fischer wrote:
> Hello,
>
> 1) when I create date on: 2017/03/20 (before Daylight Saving Time change)
> with this code:
>
> D1 := Date yea
Even "Date today" and "Date now" is created by DateAndTime.
So, due to the DateAndTime internals, one can't persist Date instance (eg. with
Fuel) and use it as exact "date/day value" for comparisons later in time (when
GST changes back and forth).
The same date value (one created before DST chan
Date>>year:month:day: (respectively Date>>#starting:) is using DateAndTime to
specify the start, and DateAndTime will of course differ.
To me it seems like someone was reusing implementation; because Date normally
shouldn't have/care about time information, and yet it subclasses from Timespan
c
Hello,
1) when I create date on: 2017/03/20 (before Daylight Saving Time change) with
this code:
D1 := Date year: 2017 month: 3 day: 26.
Date object is created with instvars:
start: 2017-03-26T00:00:00+01:00
duration: 1:00:00:00
2) when I create same Date instance with the same code on/after: