Esempio n. 1
0
 def conv_in_timestamp(self, timestamp):
     if isinstance(timestamp, basestring):
         # Replaces 6 digits microseconds to 4 digits allowed in Firebird
         timestamp = timestamp[:24]
     return typeconv_datetime.timestamp_conv_in(timestamp)
Esempio n. 2
0
 def in_timestamp(self, value):
     if isinstance(value, basestring):
         value = value[:24]
     return typeconv_dt.timestamp_conv_in(value)
Esempio n. 3
0
 def in_timestamp(self, value):
     if isinstance(value, basestring):
         # Replaces 6 digits microseconds to 4 digits allowed in Firebird
         value = value[:24]
     return typeconv_dt.timestamp_conv_in(value)