diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-12 15:25:48 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-12 15:25:48 (GMT) |
commit | 01b6979fa9f2c248349d3fc94fc9358f0e7d635b (patch) | |
tree | cea526fa5a7ab0e744ac895840876cfc07220ff5 /generic/tclClock.c | |
parent | 37907b7e83bac9c787125b72693d4085c8cdcd24 (diff) | |
download | tcl-01b6979fa9f2c248349d3fc94fc9358f0e7d635b.zip tcl-01b6979fa9f2c248349d3fc94fc9358f0e7d635b.tar.gz tcl-01b6979fa9f2c248349d3fc94fc9358f0e7d635b.tar.bz2 |
(cherry-pick): Clock not weak; clock strong!
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r-- | generic/tclClock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c index b1aefa8..5876114 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -3705,7 +3705,7 @@ ClockScanCommit( { /* If needed assemble julianDay using year, month, etc. */ if (info->flags & CLF_ASSEMBLE_JULIANDAY) { - if ((info->flags & CLF_ISO8601WEAK)) { + if (info->flags & CLF_ISO8601WEEK) { GetJulianDayFromEraYearWeekDay(&yydate, GREGORIAN_CHANGE_DATE); } else if (!(info->flags & CLF_DAYOFYEAR) /* no day of year */ || (info->flags & (CLF_DAYOFMONTH|CLF_MONTH)) /* yymmdd over yyddd */ |