diff --git a/calculate.js b/calculate.js index ee478f3..da9e952 100644 --- a/calculate.js +++ b/calculate.js @@ -80,7 +80,7 @@ module.exports = { year = date.getFullYear(); rawsat = hist_entries[v]['sateur_rate'] percentage = (-100 * ((rawsat - today_sats) / rawsat)).toFixed(3) - final_list.push({ "year": date.toLocaleDateString(), "sats": rawsat.toLocaleString("en-US"), "percent": percentage }); + final_list.push({ "year": date.toLocaleDateString('en-GB'), "sats": rawsat.toLocaleString("en-US"), "percent": percentage }); } return final_list } catch (error) { diff --git a/views/sats.hbs b/views/sats.hbs index 85d36f5..91ab364 100644 --- a/views/sats.hbs +++ b/views/sats.hbs @@ -46,7 +46,7 @@