Changes

3 bytes removed ,  10:18, 27 November 2018
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:text('y')
+
return now_date.year
 
end
 
end