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-28 15:40:45 +10:00
committed by Mickael
parent e817c1a79d
commit 906e94b831
+1
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];
}
}