We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb979a8 commit c58f24eCopy full SHA for c58f24e
t/inflate/datetime_pg.t
@@ -30,9 +30,11 @@ warnings_are {
30
# test 'timestamp without time zone'
31
my $dt = DateTime->from_epoch(epoch => time);
32
$dt->set_nanosecond(int 500_000_000);
33
+ $dt->set_time_zone( "Europe/Zaporozhye" );
34
$event->update({ts_without_tz => $dt});
35
$event->discard_changes;
36
isa_ok($event->ts_without_tz, "DateTime") or diag $event->created_on;
37
+ is($event->ts_without_tz->time_zone->name, "floating", "No specific timezone");
38
is($event->ts_without_tz, $dt, 'timestamp without time zone inflation');
39
is($event->ts_without_tz->microsecond, $dt->microsecond,
40
'timestamp without time zone microseconds survived');
0 commit comments