Skip to content

Commit

Permalink
add date
Browse files Browse the repository at this point in the history
  • Loading branch information
tbtz committed Dec 3, 2017
1 parent da3450b commit d2e3ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function formatDate(date) {
if (month < 10) month = '0' + month;
let year = date.getFullYear().toString().substr(-2);

return `${dayName}, den <say-as interpret-as="date">${day}.${month}.${year}</say-as>`;
return `${dayName}, den <say-as interpret-as="date" format="dmy">${day}.${month}.${year}</say-as>`;
}

function generateOutputText(meals, date) {
Expand Down

0 comments on commit d2e3ac0

Please sign in to comment.