aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.template.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-05-10 18:10:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-05-10 18:10:31 +0200
commite7927e0eee62ea331e97c3e572b12a594eca14fd (patch)
tree6805c633464d1a0b5e41375c43a39f416c1be485 /daily-psk.template.rsc
parentd586a5ab1975e7f06a43f816e3809753d9606cba (diff)
daily-psk: explicitly cast to num
Diffstat (limited to 'daily-psk.template.rsc')
-rw-r--r--daily-psk.template.rsc2
1 files changed, 1 insertions, 1 deletions
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);