Module:Age: Difference between revisions

    (support show=dhms and show=hms per request at Template talk:Time interval)
    (change {{age in years and days}} to NOT output a hidden sort key and add {{age in years and days nts}} which does, per Template talk:Age in years and days#Google problems)
    Line 540: Line 540:
    age_yd = {                  -- {{age in years and days}}
    age_yd = {                  -- {{age in years and days}}
    show = 'yd',
    show = 'yd',
    format = 'format_commas',
    sep = args.sep ~= 'and' and 'sep_comma' or nil,
    },
    age_yd_nts = {              -- {{age in years and days nts}}
    show = 'yd',
    format = 'format_commas',
    sep = args.sep ~= 'and' and 'sep_comma' or nil,
    sep = args.sep ~= 'and' and 'sep_comma' or nil,
    sortable = 'on',
    sortable = 'on',