From 941042951f539f3971e6fdee795416aa9f568a0f Mon Sep 17 00:00:00 2001 From: Trygve Aspelien Date: Fri, 8 Dec 2023 14:31:06 +0100 Subject: [PATCH] Update platform_deps.py (#33) --- pysurfex/platform_deps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pysurfex/platform_deps.py b/pysurfex/platform_deps.py index e6ed4d6..7f60435 100644 --- a/pysurfex/platform_deps.py +++ b/pysurfex/platform_deps.py @@ -303,6 +303,9 @@ def parse_setting( setting = str(setting).replace( f"{micro}YYYY_LL{micro}", validtime.strftime("%Y") ) + setting = str(setting).replace( + f"{micro}YY_LL{micro}", validtime.strftime("%y") + ) setting = str(setting).replace( f"{micro}MM_LL{micro}", validtime.strftime("%m") )