Help - addiing time
#1162
-
I tried to add time and got output '1'. Shouldn't it output '2'?.
|
Beta Was this translation helpful? Give feedback.
Answered by
data-man
Mar 1, 2024
Replies: 3 comments
-
a = a.add_seconds(1); But there is a bug in std: fn Time Time.add_seconds(time, long seconds) => time + (Time)(seconds * (long)MS); -> fn Time Time.add_seconds(time, long seconds) => time + (Time)(seconds * (long)SEC); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
-
I've updated the source code, so the fix should be soon in "latest". |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But there is a bug in std:
->