1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

use UTC when calculating epoch timestamp. reset time locale to default after changing

This commit is contained in:
Kelly Brazil
2021-03-21 14:03:36 -07:00
parent 3dd7a5b77e
commit d4fea17c57
3 changed files with 13 additions and 6 deletions

View File

@ -157,7 +157,7 @@ Returns:
"native_path": string,
"power_supply": boolean,
"updated": string,
"updated_epoch": integer, # works best with C locale. null if conversion fails
"updated_epoch": integer, # as UTC. Works best with C locale. null if conversion fails
"updated_seconds_ago": integer,
"has_history": boolean,
"has_statistics": boolean,