develooper Front page | perl.datetime | Postings from July 2017

Re: How to tell (in advance) if a date-time is ambiguous?

Thread Previous | Thread Next
Karen Etheridge
July 13, 2017 13:04
Re: How to tell (in advance) if a date-time is ambiguous?
Message ID:
On Tue, Jul 11, 2017 at 1:46 AM, Binarus <> wrote:
> But if the application misbehaves because there is no correct time zone
> data available at that moment, I won't get into trouble. No reasonable
> person can expect that applications doing calculations on local dates
> and times behave correctly if a time zone / DST change is announced just
> a day before it actually happens.

Depending on what "reasonable people" assume often gets
‚Äčone into surprisingly
unreasonable positions.

> As far as i know, it is consensus in most legal systems that it is
> perfectly acceptable to use the time zone data which is currently
> available for your O/S for time calculations (provided that you update
> the O/S regularly using the appropriate mechanism).

I am not aware of a single legal system that sets out *anything* to do with
an operating system whatsoever, let alone what might be acceptable
for the functioning of such software.  Legal systems deal in absolutes,
and care not whether something is calculated on paper or through another
"my computer couldn't figure it out" is not a reasonable excuse.

These lists are also insightful:

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About