Skip to content

Commit

Permalink
Revert #6882 again
Browse files Browse the repository at this point in the history
  • Loading branch information
silasary committed Dec 3, 2019
1 parent 9fdb10d commit d7d60af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions magic/multiverse.py
Expand Up @@ -456,8 +456,7 @@ def database2json(propname: str) -> str:

def date2int(s: str, name: str) -> Union[str, float]:
if name == 'released_at':
print(f'parsing {s}')
return dtutil.parse_to_ts(s.replace('2109', '2019'), '%Y-%m-%d', dtutil.WOTC_TZ)
return dtutil.parse_to_ts(s, '%Y-%m-%d', dtutil.WOTC_TZ)
return s

# I'm not sure this belong here, but it's here for now.
Expand Down

0 comments on commit d7d60af

Please sign in to comment.