We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ae278 commit e3863bfCopy full SHA for e3863bf
app/services/appService.js
@@ -431,7 +431,7 @@ module.exports = {
431
await db.query(query)
432
},
433
getPageVisitStatsFromDB: async () => {
434
- const query = `SELECT DATE_FORMAT(timestamp, '%d-%c') AS dato, count(*) AS antall
+ const query = `SELECT DATE_FORMAT(timestamp, '%d.%c.%Y') AS dato, count(*) AS antall
435
FROM page_traffic AS pt
436
GROUP BY dato`
437
const result = await db.query(query)
0 commit comments