The value of args.header.end is correct: "2025-11-10T00:00:00" is the exact time point marking the end of the group.
However, you can’t simply use the date-only part of this date/time value when generating the group text. To get the expected printable value, you need to subtract one day.