[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36954] datenum / datevec convert date-time st
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #36954] datenum / datevec convert date-time string incorrectly during hour lost to DST |
Date: |
Fri, 30 Jun 2017 18:14:18 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 |
Follow-up Comment #15, bug #36954 (project octave):
Sure, my cset is a kludge but one that works for me.
First, I'm not so proficient in the internals of strptime and friends and when
I delved into this bug it soon appeared to me that time zones and DST
constitute a science on their own.
Furthermore apparently almost no one bothered about this bug for 5 years (the
original bug report is from 2012); admittedly it is a corner case that few
people hit.
Therefore I didn't delve into this all the way and fixed it just for my own
purposes.
Initially the code overhead was also a concern for me, but after looking into
datenum and datevec and finding how much code those functions need to do their
job I was quite a bit less alarmed :-)
But I agree that some timings may be helpful. In my own experience I didn't
note significant performance hits.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36954>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/