1
0
Fork 0

Merge branch 'espruino:master' into master

master
sir-indy 2022-03-31 11:45:49 +01:00 committed by GitHub
commit 2e099e4304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -18,3 +18,4 @@
Added Swedish localisation with English text
0.16: Remove global variables that used RAM
Add second 'dp' argument for decimal places in distance/speed/temp (fix #1523)
0.17: Fix regression where long month names were 'undefined' (fix #1641)

View File

@ -161,7 +161,7 @@ exports = { name : "en_GB", currencySym:"£",
"%A": `${js(locale.day)}.split(',')[d.getDay()]`,
"%a": `${js(locale.abday)}.split(',')[d.getDay()]`,
"%B": `${js(locale.month)}.split(',')[d.getMonth()]`,
"%b": `${js(locale.abmonth)}.split(',')[d.getMonth() + 12]`,
"%b": `${js(locale.abmonth)}.split(',')[d.getMonth()]`,
"%p": `d.getHours()<12?${js(locale.ampm[0].toUpperCase())}:${js(locale.ampm[1].toUpperCase())}`,
"%P": `d.getHours()<12?${js(locale.ampm[0].toLowerCase())}:${js(locale.ampm[1].toLowerCase())}`
};

View File

@ -1,7 +1,7 @@
{
"id": "locale",
"name": "Languages",
"version": "0.16",
"version": "0.17",
"description": "Translations for different countries",
"icon": "locale.png",
"type": "locale",