Module:Upcoming Birthdays

From NOISZ Wiki
Revision as of 10:53, 29 September 2025 by RiceEmpress (talk | contribs)

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

local capiunto = require 'capiunto'
local lang = mw.language.getContentLanguage()
local currentYear = lang:formatDate("Y")
local nextYear = lang:formatDate("Y") + 1

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 hakunoTime = os.time{year=2025, month=12, day=25}
   local hakunoDate = lang:formatDate("F d, Y H:i T",'@' .. hakunoTime)
   return os.difftime(hakunoTime,os.time())
end
return p