mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-31 12:55:02 +01:00
Add German weekday abbreviations
On systems with German locales the weekdays abbreviation differs from the English format.
This commit is contained in:
parent
e817c1a79d
commit
906e94b831
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ class OrgViewer extends React.Component {
|
|||
|
||||
function day(n){
|
||||
switch(navigator.language.split("-")[0]){
|
||||
case "de": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"][n];
|
||||
default: return ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][n];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue