Module:Age: Difference between revisions

    (Change order of calculation of is_leap_year for tine efficiency tweak (tested with some manual code returns), and some if/else's on mutually exclusive combinations of neg year/month/day (tested with :Australian_Labor_Party))
    m (clarify)
    Line 4: Line 4:
             {{Gregorian serial date}}      gsd_ymd
             {{Gregorian serial date}}      gsd_ymd
    Calendar functions will be needed in many areas, so this may be superseded
    Calendar functions will be needed in many areas, so this may be superseded
    by some other system, perhaps using PHP functions accessed via mw.
    by some other system, perhaps using PHP functions accessed via mediawiki.
    ]]
    ]]