is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 10 years ago

#1338 closed bug (fixed)

jDatetime: durationTo should use gmdate to prevent dst problem when counting days

Reported by: Julien Owned by: Julien
Priority: normal Milestone: Jelix 1.2.3
Component: jelix:utils Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


because we use seconds to calculate the days between 2 dates, we may have a difference due to dst (because we miss 1 hour or have 1 more hour)


Change History (5)

comment:1 Changed 11 years ago by Julien

  • Owner set to Julien
  • Status changed from new to assigned

comment:2 Changed 11 years ago by laurentj

  • review review? deleted

tests tests tests tests :-)

comment:3 Changed 11 years ago by laurentj

  • Milestone changed from Jelix 1.3 to Jelix 1.2.3

comment:4 Changed 11 years ago by Julien

coming, coming, coming ;)

just not having enough time theses last days (/weeks/months.. ;) )

comment:5 Changed 10 years ago by laurentj

  • Resolution set to fixed
  • Status changed from assigned to closed

There are already tests.

Patch pushed thanks.

Note: See TracTickets for help on using tickets.