Convert Zanata date into timestamp
Change-Id: I56ec8950038f6c6183bf711ede453f5fc1d73342
This commit is contained in:
parent
8489d3a490
commit
ecbe38204e
@ -80,7 +80,8 @@ def log(runtime_storage_inst, translation_team_uri):
|
|||||||
if user_stats_item['savedState'] == 'Translated':
|
if user_stats_item['savedState'] == 'Translated':
|
||||||
record = dict(
|
record = dict(
|
||||||
zanata_id=user_id,
|
zanata_id=user_id,
|
||||||
date=user_stats_item['savedDate'],
|
date=_date_to_timestamp(
|
||||||
|
user_stats_item['savedDate']),
|
||||||
language_code=user_stats_item['localeId'],
|
language_code=user_stats_item['localeId'],
|
||||||
language=user_stats_item['localeDisplayName'],
|
language=user_stats_item['localeDisplayName'],
|
||||||
# Todo: not always consistent to the official name
|
# Todo: not always consistent to the official name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user