Update value_types.py
This commit is contained in:
parent
b664c15977
commit
2d93a2648c
@ -6,6 +6,7 @@ import pytz
|
||||
# Preload timezone to avoid loading in event loop later
|
||||
local_tz = pytz.timezone('Europe/Amsterdam')
|
||||
|
||||
|
||||
def timestamp(value):
|
||||
try:
|
||||
naive_datetime = datetime.datetime.strptime(value[:-1], '%y%m%d%H%M%S')
|
||||
|
Loading…
Reference in New Issue
Block a user