Re: datetime:diff() question

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu