Skip to content

v1.4.592

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 02:29

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.