fix: handle national language datetime formats
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 5m9s
Build / Build-and-test-development (pull_request) Successful in 9m58s

This commit is contained in:
Henrik Forsell
2025-03-05 14:34:51 +01:00
parent 8657826e60
commit 149e318a87

View File

@@ -340,7 +340,7 @@ select upcase(loadtype)
if ctrlOptions ne '' then
colType=cats(coltype,',"type":"dropdown","source":',ctrlOptions,"}");
else if type='num' then do;
if format=:'DATETIME' or format=:'E8601DT' then do;
if format=:'DATETIME' or format=:'E8601DT' or format=:'NLDAT' then do;
colType=cats(coltype
,',"type":"date","dateFormat":"YYYY-MM-DD HH:mm:ss"'
,',"correctFormat":"true"}');