Add German weekday abbreviations

On systems with German locales the weekdays abbreviation differs from the English format.
This commit is contained in:
Andreas Zweili 2018-05-22 21:37:33 +02:00 committed by Mickael
parent e817c1a79d
commit 906e94b831

View file

@ -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];
}
}