Ticket #1141 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

german jscalendar translation broken

Reported by: Brian Sutherland <jinty@…> Owned by: lregebro
Priority: P1 Milestone: CPS 3.4.0
Component: CalZope Version: TRUNK
Severity: normal Keywords:
Cc:

Description

Yep, it seems broken when the browser language is set to de. This patch seems fixes it.

Index: calendar-de.js
===================================================================
--- calendar-de.js      (revision 27741)
+++ calendar-de.js      (working copy)
@@ -43,6 +43,11 @@
  "Sa",
  "So");

+
+// First day of the week. "0" means display Sunday first, "1" means display
+// Monday first, etc.
+Calendar._FD = 1;
+
 // full month names
 Calendar._MN = new Array
 ("Januar",

Change History

comment:1 Changed 14 years ago by gracinet

Besides the fact that the first week day in Germany is monday, there's a bug in jscalendar (wrong week number). AFAIK, it affects only years that start on a saturday, if sunday is the first day of the week.

comment:2 Changed 14 years ago by lregebro

  • Status changed from new to closed
  • Resolution set to fixed

Solved in [29670].

comment:3 Changed 13 years ago by fguillaume

  • Milestone changed from CPS 3.6.0 to CPS 3.4.0
Note: See TracTickets for help on using tickets.