|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #31079] DATESTR function buggy before year 1970 |
Date: | Thu, 09 Dec 2010 07:44:41 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15) |
Follow-up Comment #10, bug #31079 (project octave): The datestr function from Octave 3.0.3 had other problems that prompted me to change to using strftime. See the following thread: https://www-old.cae.wisc.edu/pipermail/bug-octave/2008-September/006730.html I checked in the following changes: http://hg.savannah.gnu.org/hgweb/octave/rev/f286a874617c http://hg.savannah.gnu.org/hgweb/octave/rev/6b073da9d7fc These changes do not handle DST. It would be nice if they did, but I don't know how to easily do that without localtime and mktime. But I agree that this is probably less of a problem than not handling dates prior to 1970. Please let me know whether this fixes the problem for you. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?31079> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |