Login
From:
til.codeinthehole.com
(Uncensored)
subscribe
TIL That Python's 'datetime' package doesn't support ordinal suffixes for the day of the month — David Winterbottom
https://til.codeinthehole.com/posts/that-pythons-datetime-package-doesnt-support-ordinal-suffixes-for-the-day-of-the-month/
links
backlinks
Roast topics
Find topics
Find it!
Django’s date template filter (and underlying django.utils.dateformat module) support using S as a format character for the English ordinal suffix for the day of the month. — can be read in 1 minute