https://bugs.winehq.org/show_bug.cgi?id=56498 Eric Pouech <eric.pouech(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)gmail.com Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #1 from Eric Pouech <eric.pouech(a)gmail.com> --- actually, doing
set "d=30/03/2024" set year=%d:~6,4% echo %year%
gives the expected result there's a off by one in the computation of the length of expansion of variables: the length of "magic" variables (like DATE, TIME, CD...) isn't coherent the length of "non magic" variables I'll send a patch later on -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.