Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d1382737d9
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (10 sloc) 0.316 kb
use v6;
use Test;
BEGIN { @*INC.unshift: 'lib' }
use DateTime::Utils;
plan 3;
my $offset = iso-offset('-0800');
is $offset, -28800, 'offset in seconds';
my $dt = DateTime.now(:timezone($offset));
is $dt.offset(), -28800, 'DateTime offset in seconds';
is strftime('%z', $dt), '-0800', 'strftime round robin';
Jump to Line
Something went wrong with that request. Please try again.