Closed mlt closed 4 years ago
Apparently, it is a Year 2038 problem
Apparently, it is a Year 2038 problem
Wow, good investigation!
Nevermind and I apologize for the noise. It is not Y2038 related. All is good as usually there are ~365.25 days in a year and month length calculated from there. It is all explained in a linked SO post.
I've been searching for a way to calculate "humanized" but accurate time difference between time stamps way in the future. All approaches I tried thus far including this gem produce incorrect result.
produces
3 Months, 2 Weeks, 1 Day, 19 Hours, 32 Minutes and 42 Seconds
. There should not be minutes and seconds in the output I presume.