feat: use locale lib

master
Michael Salaverry 2021-12-03 19:07:56 +02:00
parent 255a75d847
commit 643728af78
No known key found for this signature in database
GPG Key ID: 438AB878C0FB04CC
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ var mainmenu = {
"title" : "Hebrew Date" "title" : "Hebrew Date"
}, },
cal: { cal: {
value: now.getDate() + "/" + Number(now.getMonth() + 1) + "/" + now.getFullYear(), value: require('locale').date(now,1),
onchange : () => {} onchange : () => {}
}, },
date: { date: {