github danielmiessler/Fabric v1.4.592

one hour ago

Changes

PR #2378 by phatstraws and ksylvan: fix(template): end the week on Saturday and start the hour in local time

  • Fixed the endofweek boundary so a week now runs Sunday through Saturday instead of spanning eight days.
  • Fixed startofhour and endofhour to use local time, correcting results in zones with half-hour offsets such as India (+05:30).
  • Preserved the UTC offset when calculating repeated-hour boundaries during daylight saving fall-back.
  • Rejected relative week offsets that overflow when converted to days.
  • Documented the Sunday-through-Saturday week in the datetime plugin and added tests for repeated-hour offsets, week overflow, and calendar boundaries.

Don't miss a new Fabric release

NewReleases is sending notifications on new releases.