On 22 November 2017 at 01:07, Alistair Grant <akgrant0710@gmail.com> wrote:
On 20 November 2017 at 09:16, Sven Van Caekenberghe <sven@stfx.eu> wrote:
We can discuss about this ad infinitum. I think we all agree that there are 2 views (abstract calendar date and concrete time interval/span, which requires a TZ), as well as 2 possible ways to deal with the second case (TZ inside date or as context outside of the date).
Right, I think changing things now will be quite a bit of work.
However there are a couple of things we can do to make life a bit easier:
1. Add a method that facilitates TZ independent comparisons. 2. Add a bit more information in the class comments.
I've named the method #dmyEquals: below, although I don't particularly like it. If anyone has a better idea, please reply.
how about #localEquals: i.e. local ==> ignore timezones btw, now we should move to discuss the default date format? https://xkcd.com/1179/ \ ;)-ben== /