Updated upload_year_truncated
This commit is contained in:
parent
2a666ef70b
commit
15d8fd620f
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ class EntryVariables(SourceVariables):
|
|||
int
|
||||
The last two digits of the upload year, i.e. 22 in 2022
|
||||
"""
|
||||
return int(self.upload_date[:2])
|
||||
return int(self.upload_date[-2:])
|
||||
|
||||
@property
|
||||
def upload_month_padded(self) -> str:
|
||||
|
|
|
|||
Loading…
Reference in a new issue