Convert Zanata date into timestamp

Change-Id: I56ec8950038f6c6183bf711ede453f5fc1d73342
This commit is contained in:
Ilya Shakhat 2016-05-24 17:18:37 +03:00
parent 8489d3a490
commit ecbe38204e
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ def log(runtime_storage_inst, translation_team_uri):
if user_stats_item['savedState'] == 'Translated':
record = dict(
zanata_id=user_id,
date=user_stats_item['savedDate'],
date=_date_to_timestamp(
user_stats_item['savedDate']),
language_code=user_stats_item['localeId'],
language=user_stats_item['localeDisplayName'],
# Todo: not always consistent to the official name