diff options
author | dakkar <dakkar@thenautilus.net> | 2023-12-09 13:10:17 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2023-12-09 13:10:17 +0000 |
commit | 8bd30555a18dcab02dc95ea8b3701cdc7adbabb6 (patch) | |
tree | 4a2351d6111c8231fb04db72391ea2da5d60dbf3 /lib/WebService/ForecastIo.pm | |
parent | we can use the new weather api (diff) | |
download | HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.tar.gz HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.tar.bz2 HomePanel-8bd30555a18dcab02dc95ea8b3701cdc7adbabb6.zip |
new bus api
Diffstat (limited to 'lib/WebService/ForecastIo.pm')
-rw-r--r-- | lib/WebService/ForecastIo.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/WebService/ForecastIo.pm b/lib/WebService/ForecastIo.pm index 84f9867..6d37519 100644 --- a/lib/WebService/ForecastIo.pm +++ b/lib/WebService/ForecastIo.pm @@ -4,7 +4,7 @@ use 5.10.0; use Types::Standard -types,'slurpy'; use Type::Utils qw(duck_type enum); use Types::URI 'Uri'; -use Types::DateTime 'DateTimeT'; +use Types::DateTime -all; use Type::Params; use WebService::ForecastIo::Response; use DateTime::TimeZone; @@ -82,7 +82,7 @@ sub request { Object, Dict[ latitude => Num, longitude => Num, - time => Optional[DateTimeT], + time => Optional[DateTimeUTC], units => Optional[$units_type], exclude => Optional[ArrayRef[$block_type]], raw => Optional[Bool], |