Module:Upcoming Birthdays: Difference between revisions

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


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

Revision as of 10:45, 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 dateNow = lang:formatDate("F d, Y H:i T")
   return os.time{year=2025, month=12, day=25}
end
return p