Module:Age/sandbox: Difference between revisions

Content deleted Content added
accept zero month/day for Template:Age as unknown values (partial dates); output '<span class="currentage">' if {{age}} uses the current date
fix new "currentage" span; do not output it if format=raw used if a calculation needed
Line 697:
abbr = spec.abbr,
disp = spec.disp,
extra = (getopt.usesCurrent and format ~= 'format_raw') and '<span class="currentage"></span>' or nil,
format = format or spec.format,
round = yes(args.round),