summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-12 15:25:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-12 15:25:48 (GMT)
commit01b6979fa9f2c248349d3fc94fc9358f0e7d635b (patch)
treecea526fa5a7ab0e744ac895840876cfc07220ff5 /generic/tclClock.c
parent37907b7e83bac9c787125b72693d4085c8cdcd24 (diff)
downloadtcl-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.c2
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 */