octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58428] mktime incorrect behavior: bug or feat


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #58428] mktime incorrect behavior: bug or feature?
Date: Fri, 22 May 2020 13:00:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Update of bug #58428 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Yeah, this is the correct behavior of mktime. As the help for the function
says, the function only operates on a tm struct that was created by
'localtime'. It does not work with the 'gmtime' function at all, unless your
time zone is 'UTC0'.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58428>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]