diff options
Diffstat (limited to 'lib/WebService/ForecastIo/DataPoint.pm')
-rw-r--r-- | lib/WebService/ForecastIo/DataPoint.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/WebService/ForecastIo/DataPoint.pm b/lib/WebService/ForecastIo/DataPoint.pm index 47ef659..13c60dd 100644 --- a/lib/WebService/ForecastIo/DataPoint.pm +++ b/lib/WebService/ForecastIo/DataPoint.pm @@ -1,16 +1,16 @@ package WebService::ForecastIo::DataPoint; use Moo; -use namespace::autoclean; -use Types::DateTime 'DateTimeT'; +use Types::DateTime -all; use Types::Standard -all; +use namespace::clean; has [qw( time sunriseTime sunsetTime precipIntensityMaxTime temperatureMinTime temperatureMaxTime )] => ( is => 'ro', - isa => DateTimeT, - coerce => DateTimeT->coercion, + isa => DateTimeUTC, + coerce => 1, ); has [qw(summary icon precipType)] => ( |