[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56190] localtime and gmtime ignore nonscalar
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56190] localtime and gmtime ignore nonscalar array elements |
Date: |
Mon, 22 Apr 2019 12:48:05 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #56190 (project octave):
Operating System: Mac OS => Any
_______________________________________________________
Follow-up Comment #1:
I also agree that silently choosing to ignore user input is not a good
programming paradigm.
My first thought is that the extension to handle multiple inputs is not very
common. Hence, my leaning right now is that it is not worth spending core
Octave programmer time on implementing it. Rather, implement the solution to
throw an error.
For users who really want this, they can run the for loop themselves
for i = 1: numel (time_data)
loctimes(i) = localtime (time_data(i));
endfor
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56190>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/