Save dates as UTC

This commit is contained in:
Brandon Presley 2022-07-08 15:16:32 +12:00
parent 5527c34488
commit bddd7cb869
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export default function EditSet({
reps: '',
weight: '',
unit: '',
created: new Date(new Date().toUTCString()),
created: new Date(),
});
const db = useContext(DatabaseContext);
@ -42,7 +42,7 @@ export default function EditSet({
newSet.name,
newSet.reps,
newSet.weight,
new Date().toISOString(),
new Date().toUTCString(),
newSet.unit || 'kg',
],
);