Changes

no edit summary
Line 1: Line 1:  
local p = {} -- p stands for package
 
local p = {} -- p stands for package
 
+
--
 
function p.hello( frame )
 
function p.hello( frame )
 
     return "Hello, world!"
 
     return "Hello, world!"
Line 12: Line 12:  
local now_date = Date('currentdate')
 
local now_date = Date('currentdate')
 
local now_datetime = Date('currentdatetime')
 
local now_datetime = Date('currentdatetime')
return now_date
+
return now_date.year
 
end
 
end
    
local function main()
 
local function main()
current_date()
+
return current_date()
 
end
 
end
    
return { main = main }
 
return { main = main }