Revision | 385ee9200765f755f7f715b95d83caa094a4e7e2 (tree) |
---|---|
Zeit | 2020-01-06 17:39:52 |
Autor | Dan Villiom Podlaski Christiansen <dan@mage...> |
Commiter | Dan Villiom Podlaski Christiansen |
fix initial weeks of the year
@@ -55,7 +55,7 @@ | ||
55 | 55 | def get_menu(dt, url): |
56 | 56 | locale.setlocale(locale.LC_ALL, 'da_DK.UTF-8') |
57 | 57 | |
58 | - weeknum = str(int(dt.strftime('%V'))) | |
58 | + weeknum = dt.strftime('%V') | |
59 | 59 | weekday = dt.strftime('%A') |
60 | 60 | month = dt.strftime('%b').rstrip('.') |
61 | 61 |