diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 21:10:06 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 21:10:06 +0000 |
commit | ee0a9b946697ccc610b52b6dc182030fba225991 (patch) | |
tree | 0de8fd66e05012bfe8b1b258a336c609f3c92ef2 /config/templates/snom-template.lua | |
parent | a8345974307b38d58dbfa352c7be93776e70ffa8 (diff) | |
download | acf-provisioning-ee0a9b946697ccc610b52b6dc182030fba225991.tar.bz2 acf-provisioning-ee0a9b946697ccc610b52b6dc182030fba225991.tar.xz |
Change use of require to work with Lua 5.2
Diffstat (limited to 'config/templates/snom-template.lua')
-rw-r--r-- | config/templates/snom-template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/templates/snom-template.lua b/config/templates/snom-template.lua index dc56f18..635ce3e 100644 --- a/config/templates/snom-template.lua +++ b/config/templates/snom-template.lua @@ -98,7 +98,7 @@ end -- Syntax: stdoffset[dst[offset][,start[/time],end[/time]]] -- Examples: 'GMT0' 'EST5EDT,M3.2.0,M11.1.0' '<GMT+5>5' -- Parse time zone variable -require('posixtz') +posixtz = require('posixtz') local tz = posixtz.parse(values.device.timezone) if tz then -- convert POSIX sign (W of GMT is '+') to Snom (E of GMT is '+') |