diff options
-rw-r--r-- | daily-psk.capsman.rsc | 2 | ||||
-rw-r--r-- | daily-psk.local.rsc | 2 | ||||
-rw-r--r-- | daily-psk.template.rsc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/daily-psk.capsman.rsc b/daily-psk.capsman.rsc index 65a17d0..2bfb576 100644 --- a/daily-psk.capsman.rsc +++ b/daily-psk.capsman.rsc @@ -38,7 +38,7 @@ $WaitFullyConnected; :local Month ($Months->[ :pick $Date 0 3 ]); :local Day [ :tonum [ :pick $Date 4 6 ] ]; - :local Year [ :pick $Date 7 11 ]; + :local Year [ :tonum [ :pick $Date 7 11 ] ]; :local A ((14 - $Month) / 12); :local B ($Year - $A); diff --git a/daily-psk.local.rsc b/daily-psk.local.rsc index 94991a7..5f4382f 100644 --- a/daily-psk.local.rsc +++ b/daily-psk.local.rsc @@ -38,7 +38,7 @@ $WaitFullyConnected; :local Month ($Months->[ :pick $Date 0 3 ]); :local Day [ :tonum [ :pick $Date 4 6 ] ]; - :local Year [ :pick $Date 7 11 ]; + :local Year [ :tonum [ :pick $Date 7 11 ] ]; :local A ((14 - $Month) / 12); :local B ($Year - $A); diff --git a/daily-psk.template.rsc b/daily-psk.template.rsc index e2a3d59..7dd5c7e 100644 --- a/daily-psk.template.rsc +++ b/daily-psk.template.rsc @@ -39,7 +39,7 @@ $WaitFullyConnected; :local Month ($Months->[ :pick $Date 0 3 ]); :local Day [ :tonum [ :pick $Date 4 6 ] ]; - :local Year [ :pick $Date 7 11 ]; + :local Year [ :tonum [ :pick $Date 7 11 ] ]; :local A ((14 - $Month) / 12); :local B ($Year - $A); |