Ticket #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: | Php version: | ||
| Hosting Provider: | Blocked By: | ||
| Documentation needed: | no | Blocking: |
Description
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
Note: See
TracTickets for help on using
tickets.
