Re: datetime:diff() question
- Posted by petelomax Dec 08, 2017
- 1354 views
Ekhnat0n said...
Neither manual nor sourcecode are wrong because they do not contradict each other
The problem is they do, and in fact the documentation contradicts itself.
The example is right, and matches both what the code actually does, and what any reasonable person would expect.
The Parameters/Returns/Comments sections are, however, completely backwards, both physically and logically.
There is nothing worth changing in the actual code itself (see post 2).
Pete