fix default value for units
This commit is contained in:
parent
0baf18e046
commit
78a1636d14
@ -1,4 +1,4 @@
|
|||||||
# $Id: wundergroundAPI.pm 19250 2019-04-23 19:50:40Z loredo $
|
# $Id: wundergroundAPI.pm 19827 2019-07-14 11:46:47Z loredo $
|
||||||
|
|
||||||
package wundergroundAPI;
|
package wundergroundAPI;
|
||||||
use strict;
|
use strict;
|
||||||
@ -127,7 +127,7 @@ sub new {
|
|||||||
$self->{units} = (
|
$self->{units} = (
|
||||||
defined( $apioptions->{units} )
|
defined( $apioptions->{units} )
|
||||||
? $apioptions->{units}
|
? $apioptions->{units}
|
||||||
: 's'
|
: 'm'
|
||||||
);
|
);
|
||||||
|
|
||||||
$self->{stationId} = (
|
$self->{stationId} = (
|
||||||
@ -744,7 +744,7 @@ sub strftimeWrapper(@) {
|
|||||||
"abstract": "Wetter API für Weather Underground"
|
"abstract": "Wetter API für Weather Underground"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "v1.0.0",
|
"version": "v1.0.1",
|
||||||
"author": [
|
"author": [
|
||||||
"Julian Pawlowski <julian.pawlowski@gmail.com>"
|
"Julian Pawlowski <julian.pawlowski@gmail.com>"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user