Revert legacy poll date formatting

This commit is contained in:
Luke Vella 2022-04-12 12:21:25 +01:00
parent a6e39cc2c3
commit e830d0b0f4
2 changed files with 3 additions and 2 deletions

View file

@ -82,7 +82,7 @@ export default async function handler(
const date = legacyPoll.dates[i].toISOString();
newOptions.push({
id: await nanoid(),
value: date.substring(0, date.indexOf("T")), // remove time
value: date,
});
}