示例#1
0
 def js_date_format(self):
     """Return the date format to use with JS datepicker"""
     if self.use_plone_date_format:
         return get_datepicker_date_format(self.request)
     else:
         return "yy-mm-dd"
示例#2
0
 def update(self):
     self.jq_date_format = get_datepicker_date_format(self.request)
示例#3
0
 def js_date_format(self):
     """Return the date format to use with JS datepicker"""
     return get_datepicker_date_format(self.request)
 def update(self):
     self.jq_date_format = get_datepicker_date_format(self.request)
示例#5
0
 def js_date_format(self):
     """Return the date format to use with JS datepicker"""
     if self.use_plone_date_format:
         return get_datepicker_date_format(self.request)
     return "yy-mm-dd"
示例#6
0
 def js_date_format(self):
     """Return the date format to use with JS datepicker"""
     return get_datepicker_date_format(self.request)