News for hackers. Stuff that matters.
Re:Kagi and Wolfram by timthelion on Tuesday March 05, 2024 @03:59PM (#39609101)
Is that a bug? I interpret it as from midnight 2016-04-04 to the first time which has the date 2019-01-31. That includes the full day of 2016-04-04 but nothing from 2019-01-31. This is contrasted with the opposite direction which is midnight 2019-01-31 going backwards, thus not including 2019-01-31 and all the way up till the first time which is 2016-04-04 non-inclusive.

Date time arithmetic is weird ;)

Re:Kagi and Wolfram by qwertox on Tuesday March 05, 2024 @04:09PM (#39609181)
If that were true, then this would be false:

https://www.wolframalpha.com/input?i=2019-01-31+to+2015-10-2... = 3 years 3 months 10 days

https://www.wolframalpha.com/input?i=2015-10-21+to+2019-01-3... = 3 years 3 months 10 days

Re:Kagi and Wolfram by timthelion on Tuesday March 05, 2024 @04:01PM (#39609120)
OK, I see, but it shows a different value for the absolute number of days, that's weird.