13
Why does the time package only define durations up to Hour?
(programming.dev)
If they provided constants, someone would complain that they produce the wrong result for daylight savings or leap years.
This - no one can agree how long a day, week, month, year etc are!
Like sure it's 24 hours in a day but is a year 365 days? No, not technically speaking.
Time has always been really hard f;r programmers.
Well now I need to go add some tests and fix some bugs. Thanks yall.
This is a community dedicated to the go programming language.
Useful Links:
Rules: