SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 24ed82f0 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Tweak FourDigitYearConverter. Fixes SCIPOST-1B4

parent abbfe2b0
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class FourDigitYearConverter:
return int(value)
def to_url(self, value):
return '%04d' % value
return '%04d' % int(value)
class TwoDigitMonthConverter:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment