Skip to content

Commit 284cc7d

Browse files
Bugfix: use strings for dates when generating records (#461)
This is currently needed for the date formatter to work.
1 parent 0820168 commit 284cc7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/routes/helpers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ module.exports = router => {
8585
id: generatedId,
8686
siteId: "RW3NM",
8787
date: {
88-
day: dayToday,
89-
month: monthToday,
90-
year: yearToday
88+
day: dayToday.toString(),
89+
month: monthToday.toString(),
90+
year: yearToday.toString()
9191
},
9292
vaccine: "RSV",
9393
vaccineProduct: "Abrysvo",

0 commit comments

Comments
 (0)