Commits

Walter Dörwald committed 5be8001

Drop the defaultLocale argument in the generated call for the UL4 format method.

Comments (0)

Files changed (2)

+Changes in 3.7.1 (released 02/08/2010)
+--------------------------------------
+
+*	:func:`ll.xist.ns.jsp.fromul4` now outputs the correct code for calling the
+	``format`` method on date objects (This requires version exp-22 of the
+	UL4 Java package).
+
+
 Changes in 3.7 (released 09/10/2009)
 ------------------------------------
 

src/ll/xist/ns/jsp.py

 			elif opcode.arg == "rfind":
 				make_scriptlet("r%d = com.livinglogic.ul4.Utils.rfind(r%d, r%d);" % (opcode.r1, opcode.r2, opcode.r3))
 			elif opcode.arg == "format":
-				make_scriptlet("r%d = com.livinglogic.ul4.Utils.format(r%d, r%d, defaultLocale);" % (opcode.r1, opcode.r2, opcode.r3))
+				make_scriptlet("r%d = com.livinglogic.ul4.Utils.format(r%d, r%d);" % (opcode.r1, opcode.r2, opcode.r3))
 			elif opcode.arg == "get":
 				make_scriptlet("r%d = ((java.util.Map)r%d).get(r%d);" % (opcode.r1, opcode.r2, opcode.r3))
 			elif opcode.arg == "withlum":