Skip to main content
9 events
when toggle format what by license comment
Dec 5, 2022 at 21:25 vote accept ARNON
Dec 5, 2022 at 18:26 answer added Blindman67 timeline score: 2
Dec 4, 2022 at 17:23 answer added MORÈ timeline score: 1
Dec 3, 2022 at 12:57 comment added ARNON Makes sense, thanks for it. About refactoring the function: would you do anything?
Dec 3, 2022 at 8:54 comment added slepic ARNON I wanted to say you can omit nanoseconds from your calculation, even if it's coming from Api, it is irrelevant for this method.
Dec 3, 2022 at 8:52 comment added slepic @radarbob why would it matter? He's not returning the Date object... He just wants the string and uses Date internally to build it. There's no comparison of dates.
Dec 2, 2022 at 20:20 comment added ARNON I hadn't tested it without the nanoseconds before, but it actually doesn't seem to make that much of a difference. But it is a fact that JSON will come with nanoseconds.
Dec 2, 2022 at 19:39 comment added slepic Is the number of nanoseconds in the current second somehow relevant to what day it is?
Dec 2, 2022 at 18:02 history asked ARNON CC BY-SA 4.0