Skip to content
Snippets Groups Projects
Commit d2ff1092 authored by vjrj's avatar vjrj
Browse files

Timestamp in utc

parent 4d35df36
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ TransactionsAndBalanceState transactionParser(String txData) {
balance = balance -= amount;
}
final DateTime txDate =
DateTime.fromMillisecondsSinceEpoch(timestamp * 1000);
DateTime.fromMillisecondsSinceEpoch(timestamp * 1000, isUtc: true);
/* if (!kReleaseMode) {
logger('Timestamp: $timestamp');
logger('Fecha: $txDate');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment