Added daytime property
This commit is contained in:
@@ -210,7 +210,7 @@ function summarise(slots) {
|
|||||||
const dominant = slots.find(s => s.label === label)
|
const dominant = slots.find(s => s.label === label)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
time: slots[0].time.slice(0, 10),
|
time: slots[0].time,
|
||||||
label: dominant.label,
|
label: dominant.label,
|
||||||
code: dominant.code,
|
code: dominant.code,
|
||||||
icon: `/icons/${dominant.icon}.png`,
|
icon: `/icons/${dominant.icon}.png`,
|
||||||
|
|||||||
Reference in New Issue
Block a user