mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-22 00:56:34 +03:00
DateTime64 field - additional fixes & docs
This commit is contained in:
parent
7fe76c185d
commit
f98dead1ab
|
@ -36,7 +36,7 @@ class SimpleFieldsTest(unittest.TestCase):
|
||||||
# Valid values
|
# Valid values
|
||||||
for value in self.dates + [
|
for value in self.dates + [
|
||||||
datetime(1970, 1, 1, microsecond=100000),
|
datetime(1970, 1, 1, microsecond=100000),
|
||||||
datetime(1970, 1, 1, microsecond=100000).astimezone(pytz.timezone('US/Eastern')),
|
pytz.timezone('US/Eastern').localize(datetime(1970, 1, 1, microsecond=100000)),
|
||||||
'1970-01-01 00:00:00.1', '1970-01-17 00:00:17.1', '0000-00-00 00:00:00.1', 0.1,
|
'1970-01-01 00:00:00.1', '1970-01-17 00:00:17.1', '0000-00-00 00:00:00.1', 0.1,
|
||||||
'2017-07-26T08:31:05.1', '2017-07-26T08:31:05.1Z', '2017-07-26 08:31.1',
|
'2017-07-26T08:31:05.1', '2017-07-26T08:31:05.1Z', '2017-07-26 08:31.1',
|
||||||
'2017-07-26T13:31:05.1+05', '2017-07-26 13:31:05.1+0500'
|
'2017-07-26T13:31:05.1+05', '2017-07-26 13:31:05.1+0500'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user