After getdate("s") or getdate(u), fractions of seconds are badly managed
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Presently, getdate("s") always returns an integer.
Now, there is no reason to truncate the fractional part of the actual raw result:
* getdate() returns the millisecond part
* getdate(X) accepts decimal numbers, and their fractional parts are right output.
* the POSIX standard does not forbid fractional parts
So getdate("s") is the only raw exception. It should be fixed.
ERROR LOG:
----------
None. Unexplained truncation
HOW TO REPRODUCE THE BUG:
-------------------------
u = getdate("s"):
u <> int(u)
OTHER INFORMATION:
------------------
Already in Scilab 4