Skip to content
Snippets Groups Projects
Commit 369c4306 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore(log): fix log shifting

parent 5b22fadc
No related branches found
No related tags found
1 merge request!56v1.4.0
Pipeline #92198 passed
......@@ -78,12 +78,12 @@ async function formateDataForDoctype(data) {
return data.map(record => {
const date = moment(record.d, 'YYYY/MM/DD h:mm:ss')
return {
load: record.v,
year: parseInt(date.format('YYYY')),
month: parseInt(date.format('M')),
day: parseInt(date.format('D')),
hour: parseInt(date.format('H')),
minute: parseInt(date.format('m')),
load: record.v,
}
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment