Module:Upcoming Birthdays: Difference between revisions

From NOISZ Wiki
mNo edit summary
Tag: Manual revert
mNo edit summary
Line 18: Line 18:


function p.main()
function p.main()
   local dateNow = lang:formatDate("F d, Y H:i T")
  local timeNow = os.time{year=2025, month=12, day=25}
   return os.time{year=2025, month=12, day=25}
   local dateNow = lang:formatDate("F d, Y H:i T",'@' .. timeNow)
   return dateNow
end
end
return p
return p

Revision as of 10:47, 29 September 2025

Documentation for this module may be created at Module:Upcoming Birthdays/doc

local capiunto = require 'capiunto'
local lang = mw.language.getContentLanguage()

birthdays = {}
birthdays[1] = {'Hikari Aoki','22 January'}
birthdays[2] = {'Sera Hoshikawa','14 March'} 
birthdays[3] = {'Grace Kamenashi','01 April'}
birthdays[4] = {'Arietta Antiphon','18 June'}
birthdays[5] = {'Joker','18 June'}
birthdays[6] = {'Asuka Fujita','30 July'}
birthdays[7] = {'Sumire Hitori','09 September'}
birthdays[8] = {'Hitori','09 September'}
birthdays[9] = {'Hakuno Nekoda','25 December'}
birthdays[10] = {'Shion Nekoda','29 December'}


local p = {}

function p.main()
   local timeNow = os.time{year=2025, month=12, day=25}
   local dateNow = lang:formatDate("F d, Y H:i T",'@' .. timeNow)
   return dateNow
end
return p