diff --git a/apps/dutchclock/app.js b/apps/dutchclock/app.js index b801a2044..90e1e3c78 100644 --- a/apps/dutchclock/app.js +++ b/apps/dutchclock/app.js @@ -1,4 +1,5 @@ const storage = require("Storage"); +const locale = require('locale'); const SCREEN_WIDTH = g.getWidth(); const SCREEN_HEIGHT = g.getHeight(); @@ -125,11 +126,11 @@ function getBottomLines() { const lines = []; if (settings.showTime) { - lines.push(require("locale").time(date)); + lines.push(locale.time(date, 1)); } if (settings.showDate) { - lines.push(`${date.getHours()}:${String(date.getMinutes()).padStart(2, '0')}`); + lines.push(locale.date(date, 1)); } return lines; diff --git a/apps/dutchclock/metadata.json b/apps/dutchclock/metadata.json index abaf15c49..d1b352e0c 100644 --- a/apps/dutchclock/metadata.json +++ b/apps/dutchclock/metadata.json @@ -3,7 +3,7 @@ "name": "Dutch Clock", "shortName":"Dutch Clock", "icon": "app.png", - "version":"0.09", + "version":"0.10", "description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.", "type": "clock", "tags": "clock,dutch,text",