Skip to content

Commit

Permalink
Google Play Store release
Browse files Browse the repository at this point in the history
  • Loading branch information
kolbasa committed Mar 27, 2024
1 parent a900203 commit ace6e47
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified assets/Screenshots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion www/api/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const dateUtils = {
* @returns {string}
*/
localizedWeekday: (date) => {
return new Date(date).toLocaleString('default', {weekday: 'short'});
return new Date(date).toLocaleString(window.navigator.language, {weekday: 'short'});
},

/**
Expand Down
2 changes: 1 addition & 1 deletion www/app/states/tracker/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const addMonthLabel = (week, day) => {
let month = '';
week.forEach((day) => {
if (day.getDate() === 1) {
month = day.toLocaleString('default', {month: 'short'});
month = day.toLocaleString(window.navigator.language, {month: 'short'});
}
});
return month;
Expand Down

0 comments on commit ace6e47

Please sign in to comment.