Jump to content

Help talk:Time function

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 50.71.169.56 (talk) at 19:45, 6 August 2017 (What about BCE dates?: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Language code

[1] Two-letter ISO 639-1 codes only allowed - try it (639-1 / 639-3):

  • {{#timel: xg | | hr}} → srpnja
  • {{#timel: xg | | hrv}} → July
  • {{#timel: xg | | de}} → Juli
  • {{#timel: xg | | ger}} → July
  • {{#timel: xg | | pl}} → lipca
  • {{#timel: xg | | pol}} → July

--Bonč (talk) 23:52, 26 April 2016 (UTC)[reply]

What about BCE dates?

What about BCE dates?

This is an encyclopedia. Encyclopedias include BCE dates in articles on history, religions and biography.

So the sorting and formatting of BCE dates are important functions to consider in Wikipedia. Which makes their absence from the discussion conspicuous.

For example here: https://en.wikipedia.org/w/index.php?title=Talk:List_of_monarchs_who_abdicated&action=edit&section=2

  1. They didn't sort the date column because the historians who care of the page don't know how.
  2. Also they used BC instead of BCE.

This provides some clues as to what to do: https://en.wikipedia.org/wiki/ISO_8601#Years

Years
YYYY
±YYYYY
ISO 8601 prescribes, as a minimum, a four-digit year [YYYY] to avoid the year 2000 problem. It therefore represents :years from 0000 to 9999, year 0000 being equal to 1 BC and all others AD. However, years prior to 1583 are not automatically allowed by the standard. Instead "values in the range [0000] through [1582] shall only be used by mutual agreement of the partners in information interchange."[10]
To represent years before 0000 or after 9999, the standard also permits the expansion of the year representation but only by prior agreement between the sender and the receiver.[11] An expanded year representation [±YYYYY] must have an agreed-upon number of extra year digits beyond the four-digit minimum, and it must be prefixed with a + or − sign[12] instead of the more common AD/BC (or CE/BCE) notation; by convention 1 BC is labelled +0000, 2 BC is labeled −0001, and so on.[13]

So:

  1. There needs to be prior agreement.
  2. There needs to be a function to display March 15, 44 BCE when given -0044-03-15 (or -00440315) as input.
  3. This should be done so that both
a. columns are sortable
b. dates are readable by historians, grade 6 students, and other laypeople.

(I've also posted this in "Wikipedia talk:Manual of Style/Dates and numbers/Date autoformatting", because what they say should correspond with what is made available here.) 50.71.169.56 (talk) 19:45, 6 August 2017 (UTC)[reply]