diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-01-19 10:41:16 -0500 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-01-19 10:41:16 -0500 |
commit | f06b82a6ad1368fe1b2bb67c8b93e79f846dbdd4 (patch) | |
tree | d791542cbdd5d3b24b9544eeca54cabd297537bc | |
parent | 6b43aa3ad0c4d41ec0f83add4cabc7361b1e327b (diff) | |
download | posixtz-0.5.tar.bz2 posixtz-0.5.tar.xz |
Update posixtz.lua for Lua 5.2 supportv0.5
-rw-r--r-- | posixtz.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/posixtz.lua b/posixtz.lua index eb1e56e..16d5303 100644 --- a/posixtz.lua +++ b/posixtz.lua @@ -17,12 +17,9 @@ local tonumber = tonumber local pairs = pairs local ipairs = ipairs local string = require('string') -local core = require('posixtz.core') -- Rest of the code is part of module "posixtz" -module('posixtz') - -from_file = core.from_file +local mymodule = {} function parse ( str ) @@ -192,3 +189,5 @@ function parse ( str ) end +mymodule.parse = parse +return mymodule |