Fix double Sunday display around DST change

This commit is contained in:
prpr 2022-10-27 11:26:43 +01:00
parent 80464c8342
commit 3f756a78f4

View File

@ -319,7 +319,8 @@ proc render_timeline {usedhours} {
set tomorrow {}
# Midnight today.
set day [midnight]
set day [clock scan [clock format [midnight] -format {%Y %m %d %T}] \
-format {%Y %m %d %T} -gmt 1]
set elength [llength $events]
set eindex 0
@ -345,7 +346,7 @@ proc render_timeline {usedhours} {
puts "<div class=\"ct_row\">"
puts "<div class=ct_dayname>[clock format $day \
-format {%a %d/%m/%Y}]</div>"
-format {%a %d/%m/%Y} -gmt 1]</div>"
set pxpos [set padadj 0]