Skip to content

Commit 1df12b8

Browse files
Update Modules/timemodule.c
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent b3896b0 commit 1df12b8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Modules/timemodule.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,9 @@ Other codes may be available on your platform. See documentation for\n\
763763
the C library strftime function.\n"
764764

765765
#ifdef HAVE_STRFTIME
766-
// OpenBSD's wcsftime() computes %V incorrectly: it returns 53 if the ISO 8601
767-
// week belongs to other year than tm_year. strftime() is correct.
766+
// gh-154460: OpenBSD's wcsftime() computes %V incorrectly: it returns 53
767+
// whenever the ISO 8601 week belongs to a different year than tm_year.
768+
// strftime() is not affected.
768769
#ifdef __OpenBSD__
769770
# undef HAVE_WCSFTIME
770771
#endif

0 commit comments

Comments
 (0)