Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6816029293eaac4e90917f5a73abc60baa41e260408fc63fd36eba5efcd80c23
Ticket: 882da1e28b73d06d791b904d38e6e615237bebe6
Wrong handling of "24:00" for weekdays
User & Date: sebres on 2024-11-25 12:12:24
Changes

  1. closedate changed to: "2460640.00862135"
  2. closer changed to: "sebres"
  3. icomment:
    Fixed in [cea877fd7fecc625]. Thx for finding.
    
    As for removed correction of julian day in case of 24:00 - it was not quite correct to retain the previous day, since it'd be used in further calculations, especially if we're in other TZ as GMT/UTC, especially if we'd have a DST time switch or TZ-offset change in the TZ exactly at this time, and since 24:00 is basically next day, everything shall move to the next day (resulting unix-time is in UTC)...
    
    I think the adjustment of day of week like [cea877fd7fecc625] is only right way. Other tokens may follow (if we'd need to validate week of the year or julian day for some reason tomorrow).
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"