Store dates as ISO string
UTC string has a comma in it, so it messes up CSV exports.
This commit is contained in:
parent
70113f1b94
commit
025296d24b
|
@ -42,7 +42,7 @@ export default function EditSet({
|
|||
newSet.name,
|
||||
newSet.reps,
|
||||
newSet.weight,
|
||||
new Date().toUTCString(),
|
||||
new Date().toISOString(),
|
||||
newSet.unit || 'kg',
|
||||
],
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user