You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to get a date with a precision level of 7, I encounter this error: 7: time precision other than 9, 11 or 14 is unsupported wikidata {'type': 'time', 'value': {'time': '+2000-00-00T00:00:00Z', 'timezone': 0, 'before': 0, 'after': 0, 'precision': 7, 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'}}
(see https://www.wikidata.org/wiki/Q111534373 for this example)
This error occurs because precision level 7 is unsupported. However, is it possible to add support for precision 7 in datavalue.py?
I propose adding the following code at line 201:
ifprecision==7:
returnint(time[1:3])
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
When I try to get a date with a precision level of 7, I encounter this error:
7: time precision other than 9, 11 or 14 is unsupported wikidata {'type': 'time', 'value': {'time': '+2000-00-00T00:00:00Z', 'timezone': 0, 'before': 0, 'after': 0, 'precision': 7, 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'}}
(see https://www.wikidata.org/wiki/Q111534373 for this example)
This error occurs because precision level 7 is unsupported. However, is it possible to add support for precision 7 in datavalue.py?
I propose adding the following code at line 201:
Thank you
The text was updated successfully, but these errors were encountered: