Jump to content

Module:Sandbox/Gnosygnu

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Gnosygnu (talk | contribs) at 05:35, 15 April 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
--This Module is for various Lua experimentation.
--It is not meant to be used by other pages, and can be safely deleted.
local p = {}

function p.Test_time()
  return os.time({year=1799, month=1, day=2})
end

function p.string_compare_lte(frame)
  return frame.args[1] <= frame.args[2]
end
function p.string_compare_mt(frame)
  return frame.args[1] > frame.args[2]
end

return p