Changes
PR #2378 by phatstraws and ksylvan: fix(template): end the week on Saturday and start the hour in local time
- Fixed the
endofweekboundary so a week now runs Sunday through Saturday instead of spanning eight days. - Fixed
startofhourandendofhourto 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.