Skip to content

Commit

Permalink
allow characters for ISO-8601 timestamps (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwpilling committed Mar 12, 2023
1 parent a0fa022 commit 39912f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/emco.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ function EMCO:createContainers()
end

function EMCO:stripTimeChars(str)
return string.gsub(string.trim(str), '[hHmMszZaApPdy:. ]', '')
return string.gsub(string.trim(str), '[ThHmMszZaApPdy0-9%-%+:. ]', '')
end

--- Expands boolean definitions to be more flexible.
Expand Down

0 comments on commit 39912f7

Please sign in to comment.