Skip to content

Commit

Permalink
fix(item): call toUtc on modification
Browse files Browse the repository at this point in the history
  • Loading branch information
albertms10 committed Nov 20, 2022
1 parent bc1ab20 commit 345273b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/model/item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ abstract class Item implements Comparable<Item>, Serializable {
creationDateTime.toUtc().toIso8601String(),
if (modificationDateTime != null)
_JsonFields.modificationDateTime:
modificationDateTime?.toIso8601String(),
modificationDateTime?.toUtc().toIso8601String(),
_JsonFields.modificationCount: modificationCount,
};

Expand Down

0 comments on commit 345273b

Please sign in to comment.