Beispiel #1
0
 ComplexWidget.prototype.decompress = function(value) {
   if (value) {
     var data = value.split(",")
     return [data[0], data[1], time.strpdate(data[2], "%Y-%m-%d %H:%M:%S")]
   }
   return [null, null, null]
 }
Beispiel #2
0
BaseTemporalField.prototype.strpdate = function(value, format) {
  return time.strpdate(value, format)
}
Beispiel #3
0
BaseTemporalField.prototype.strpdate = function(value, format) {
  return time.strpdate(value, format, locales.getDefaultLocale())
}