lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit bc9f6ecb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Set end datatime in the birthday field so that we cannot input the future date as the birthday.

parent 23a4c5be
......@@ -11,10 +11,19 @@
<value>
<list>
<string>description</string>
<string>end_datetime</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>delegated_message_list</string> </key>
<value>
<list>
<string>datetime_out_of_range</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_dialog_mode_birthday</string> </value>
......@@ -24,8 +33,8 @@
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
<key> <string>datetime_out_of_range</string> </key>
<value> <string>The birthday should be in the past.</string> </value>
</item>
</dictionary>
</value>
......@@ -53,6 +62,16 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end_datetime</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -65,6 +84,10 @@
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -76,6 +99,12 @@
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end_datetime</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_date</string> </value>
......@@ -98,4 +127,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:DateTime()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,10 +12,19 @@
<list>
<string>default</string>
<string>description</string>
<string>end_datetime</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>delegated_message_list</string> </key>
<value>
<list>
<string>datetime_out_of_range</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_view_mode_date_of_birth</string> </value>
......@@ -25,8 +34,8 @@
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
<key> <string>datetime_out_of_range</string> </key>
<value> <string>The birthday should be in the past.</string> </value>
</item>
</dictionary>
</value>
......@@ -64,6 +73,12 @@
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end_datetime</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -97,6 +112,12 @@
<key> <string>description</string> </key>
<value> <string>The date of birth for the person.</string> </value>
</item>
<item>
<key> <string>end_datetime</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_date</string> </value>
......@@ -132,4 +153,17 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:DateTime()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
404
\ No newline at end of file
405
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment