@@ -2463,15 +2463,15 @@ mod test {
2463
2463
& year,
2464
2464
Datum :: int ( 1970 - super :: UNIX_EPOCH_YEAR ) ,
2465
2465
) ;
2466
- test_timestamp_and_tz_transform ( "1969-01-01 00 :00:00.00 " , & year, Datum :: int ( -1 ) ) ;
2466
+ test_timestamp_and_tz_transform ( "1969-01-01T00 :00:00.000000 " , & year, Datum :: int ( -1 ) ) ;
2467
2467
2468
2468
// Test TimestampNanosecond
2469
2469
test_timestamp_ns_and_tz_transform_using_i64 (
2470
2470
186280000000 ,
2471
2471
& year,
2472
2472
Datum :: int ( 1970 - super :: UNIX_EPOCH_YEAR ) ,
2473
2473
) ;
2474
- test_timestamp_ns_and_tz_transform ( "1969-01-01 00 :00:00.00 " , & year, Datum :: int ( -1 ) ) ;
2474
+ test_timestamp_ns_and_tz_transform ( "1969-01-01T00 :00:00.000000 " , & year, Datum :: int ( -1 ) ) ;
2475
2475
}
2476
2476
2477
2477
#[ test]
@@ -2562,21 +2562,21 @@ mod test {
2562
2562
& month,
2563
2563
Datum :: int ( ( 1970 - super :: UNIX_EPOCH_YEAR ) * 12 ) ,
2564
2564
) ;
2565
- test_timestamp_and_tz_transform ( "1969-12-01 23 :00:00.00 " , & month, Datum :: int ( -1 ) ) ;
2566
- test_timestamp_and_tz_transform ( "2017-12-01 00 :00:00.00 " , & month, Datum :: int ( 575 ) ) ;
2567
- test_timestamp_and_tz_transform ( "1970-01-01 00 :00:00.00 " , & month, Datum :: int ( 0 ) ) ;
2568
- test_timestamp_and_tz_transform ( "1969-12-31 00 :00:00.00 " , & month, Datum :: int ( -1 ) ) ;
2565
+ test_timestamp_and_tz_transform ( "1969-12-01T23 :00:00.000000 " , & month, Datum :: int ( -1 ) ) ;
2566
+ test_timestamp_and_tz_transform ( "2017-12-01T00 :00:00.000000 " , & month, Datum :: int ( 575 ) ) ;
2567
+ test_timestamp_and_tz_transform ( "1970-01-01T00 :00:00.000000 " , & month, Datum :: int ( 0 ) ) ;
2568
+ test_timestamp_and_tz_transform ( "1969-12-31T00 :00:00.000000 " , & month, Datum :: int ( -1 ) ) ;
2569
2569
2570
2570
// Test TimestampNanosecond
2571
2571
test_timestamp_ns_and_tz_transform_using_i64 (
2572
2572
186280000000 ,
2573
2573
& month,
2574
2574
Datum :: int ( ( 1970 - super :: UNIX_EPOCH_YEAR ) * 12 ) ,
2575
2575
) ;
2576
- test_timestamp_ns_and_tz_transform ( "1969-12-01 23 :00:00.00 " , & month, Datum :: int ( -1 ) ) ;
2577
- test_timestamp_ns_and_tz_transform ( "2017-12-01 00 :00:00.00 " , & month, Datum :: int ( 575 ) ) ;
2578
- test_timestamp_ns_and_tz_transform ( "1970-01-01 00 :00:00.00 " , & month, Datum :: int ( 0 ) ) ;
2579
- test_timestamp_ns_and_tz_transform ( "1969-12-31 00 :00:00.00 " , & month, Datum :: int ( -1 ) ) ;
2576
+ test_timestamp_ns_and_tz_transform ( "1969-12-01T23 :00:00.000000 " , & month, Datum :: int ( -1 ) ) ;
2577
+ test_timestamp_ns_and_tz_transform ( "2017-12-01T00 :00:00.000000 " , & month, Datum :: int ( 575 ) ) ;
2578
+ test_timestamp_ns_and_tz_transform ( "1970-01-01T00 :00:00.000000 " , & month, Datum :: int ( 0 ) ) ;
2579
+ test_timestamp_ns_and_tz_transform ( "1969-12-31T00 :00:00.000000 " , & month, Datum :: int ( -1 ) ) ;
2580
2580
}
2581
2581
2582
2582
#[ test]
@@ -2667,12 +2667,12 @@ mod test {
2667
2667
// Test TimestampMicrosecond
2668
2668
test_timestamp_and_tz_transform_using_i64 ( 1512151975038194 , & day, Datum :: date ( 17501 ) ) ;
2669
2669
test_timestamp_and_tz_transform_using_i64 ( -115200000000 , & day, Datum :: date ( -2 ) ) ;
2670
- test_timestamp_and_tz_transform ( "2017-12-01 10 :30:42.123 " , & day, Datum :: date ( 17501 ) ) ;
2670
+ test_timestamp_and_tz_transform ( "2017-12-01T10 :30:42.123000 " , & day, Datum :: date ( 17501 ) ) ;
2671
2671
2672
2672
// Test TimestampNanosecond
2673
2673
test_timestamp_ns_and_tz_transform_using_i64 ( 1512151975038194 , & day, Datum :: date ( 17 ) ) ;
2674
2674
test_timestamp_ns_and_tz_transform_using_i64 ( -115200000000 , & day, Datum :: date ( -1 ) ) ;
2675
- test_timestamp_ns_and_tz_transform ( "2017-12-01 10 :30:42.123 " , & day, Datum :: date ( 17501 ) ) ;
2675
+ test_timestamp_ns_and_tz_transform ( "2017-12-01T10 :30:42.123000 " , & day, Datum :: date ( 17501 ) ) ;
2676
2676
}
2677
2677
2678
2678
#[ test]
0 commit comments