79588507

Date: 2025-04-23 11:36:11
Score: 2.5
Natty:
Report link

This is caused by the implementation of .strftime() in the C library in Linux omitting any leading zeros from %Y and %G. The related issue in CPython's issue tracker is here.

Thanks to jonrsharpe's comment for the answer, and highlighting this section of the documentation:

"The full set of format codes supported varies across platforms, because Python calls the platform C library’s strftime() function, and platform variations are common."

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Melipone