--- calendar.js	2011-11-23 16:54:10.244436361 +0200
+++ new.js	2011-11-23 16:53:48.091103141 +0200
@@ -28,12 +28,10 @@
     return (dateA.getYear() == dateB.getYear());
 }
 
-/* TODO: maybe needs config - right now we assume that Saturday and
- * Sunday are non-work days (not true in e.g. Israel, it's Sunday and
- * Monday there)
- */
 function _isWorkDay(date) {
-    return date.getDay() != 0 && date.getDay() != 6;
+    //Translators: Enter 0-6 (Sunday-Saturday) for non-work days. Examples: "0" (Sunday) "6" (Saturday) "06" (Sunday and Saturday).
+    let days = '6';
+    return days.indexOf(date.getDay()) == -1;
 }
 
 function _getBeginningOfDay(date) {
