Index: openacs-4/packages/acs-templating/acs-templating.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/acs-templating.info,v
diff -u -r1.66.2.43 -r1.66.2.44
--- openacs-4/packages/acs-templating/acs-templating.info 3 Nov 2022 17:33:39 -0000 1.66.2.43
+++ openacs-4/packages/acs-templating/acs-templating.info 7 Nov 2022 13:38:55 -0000 1.66.2.44
@@ -9,7 +9,7 @@
f
t
-
+
OpenACS
Templating library.
2021-09-15
@@ -27,7 +27,7 @@
GPL version 2
3
-
+
Index: openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml,v
diff -u -r1.15.2.7 -r1.15.2.8
--- openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml 26 Jun 2022 11:06:13 -0000 1.15.2.7
+++ openacs-4/packages/acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml 7 Nov 2022 13:38:55 -0000 1.15.2.8
@@ -122,4 +122,5 @@
Jahr
Jahr
Jahr muss positiv sein
+ Jahr muss zwischen 1 und 9999 liegen
Index: openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml,v
diff -u -r1.25.2.11 -r1.25.2.12
--- openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml 25 Aug 2022 11:34:50 -0000 1.25.2.11
+++ openacs-4/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml 7 Nov 2022 13:38:55 -0000 1.25.2.12
@@ -131,4 +131,5 @@
Year
year
Year must be positive
+ Year must be between 1 and 9999
Index: openacs-4/packages/acs-templating/tcl/date-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/date-procs.tcl,v
diff -u -r1.63.2.19 -r1.63.2.20
--- openacs-4/packages/acs-templating/tcl/date-procs.tcl 2 Nov 2022 08:38:34 -0000 1.63.2.19
+++ openacs-4/packages/acs-templating/tcl/date-procs.tcl 7 Nov 2022 13:38:55 -0000 1.63.2.20
@@ -834,8 +834,8 @@
}
}
- if { $year ne {} && $year < 1 } {
- lappend error_msg [_ acs-templating.Year_must_be_positive]
+ if { $year ne {} && ($year < 1 || $year > 9999)} {
+ lappend error_msg [_ acs-templating.Year_must_be_between_1_and_9999]
}
if { $month ne {} } {