Usuário:Verdy p/sandbox/2014/01

This page is a translated version of the page User:Verdy p/sandbox/2014/01 and the translation is 100% complete.

This personal sandbox page is used only to test various issues when formating dates in translatable pages. It is not meant to be published or referenced by any other page, but if you think you have cases to test for specific languages, free free to report them in the talk page.

Its content may change without notice depending on tests to perform when working for example on the translation of templates including dates, numbers, or other elements requiring locale-dependant data or layouts.

  • To Translation admins: don't place this translatable page in any core translation group.
  • To Translators and any other editors on Meta: don't care if your language is not listed or if the translations are not complete, unless you want to check by yourself that some cases for your language are correctly handled and want to demonstrate it (don't forget to talk about it in the talk page if the displayed result is not what you would expect for your language. I'll try to investigate the issue and add/remove some tests.

Thanks. verdy_p (talk) 04:17, 29 December 2013 (UTC)

Exemplo:

calendar or clock date element format variant UTC timezone (#time:) local timezone on server (#timel:)
ASCII-only numbers localized numbers ASCII-only numbers localized numbers
ISO weekly calendar year 4 digits {{#time:xno}} = 2024 {{#time:o}} = 2024,
{{CURRENTISOYEAR}} = 2024
{{#timel:xno}} = 2024 {{#timel:o}} = 2024
week of year 2 digits (01 to 52 or 53) {{#time:xnW}} = 45 {{#time:W}} = 45,
{{CURRENTISOWEEK}} = 45
{{#timel:xnW}} = 45 {{#timel:W}} = 45
day of week (Monday to Sunday) 1 digit (1 to 7) {{#time:xnN}} = 2 {{#time:N}} = 2 {{#timel:xnN}} = 2 {{#timel:N}} = 2
astronomic Gregorian calendar timestamp 14 digits {{#time:xnYxnmxndxnHxnixns}} = 20241105012007,
{{CURRENTTIMESTAMP}} = 20241105012007
{{#time:YmdHis}} = 20241105012007 {{#timel:xnYxnmxndxnHxnixns}} = 20241105012007,
{{LOCALTIMESTAMP}} = 20241105012007
{{#timel:YmdHis}} = 20241105012007
year 4 digits {{#time:xnY}} = 2024 {{#time:Y}} = 2024,
{{CURRENTYEAR}} = 2024
{{#timel:xnY}} = 2024 {{#timel:Y}} = 2024,
{{LOCALYEAR}} = 2024
2 digits {{#time:xny}} = 24 {{#time:y}} = 24 {{#timel:xny}} = 24 {{#timel:y}} = 24
month 2 digits {{#time:xnm}} = 11 {{#time:m}} = 11,
{{CURRENTMONTH}} = 11
{{#timel:xnm}} = 11 {{#timel:m}} = 11,
{{LOCALMONTH}} = 11
1 or 2 digits {{#time:xnn}} = 11 {{#time:n}} = 11 {{#timel:xnn}} = 11 {{#timel:n}} = 11
day of month 2 digits {{#time:xnd}} = 05 {{#time:d}} = 05,
{{CURRENTDAY2}} = 05
{{#timel:xnd}} = 05 {{#timel:d}} = 05,
{{LOCALDAY2}} = 05
1 or 2 digits {{#time:xnj}} = 5 {{#time:j}} = 5,
{{CURRENTDAY}} = 5
{{#timel:xnj}} = 5 {{#timel:j}} = 5,
{{LOCALDAY}} = 5
24-hour clock Hour 2 digits {{#time:xnH}} = 01 {{#time:H}} = 01,
{{CURRENTHOUR}} = 01
{{#timel:xnH}} = 01 {{#timel:H}} = 01,
{{LOCALHOUR}} = 01
1 or 2 digits {{#time:xnG}} = 1 {{#time:G}} = 1 {{#timel:xnG}} = 1 {{#timel:G}} = 1,
{{LOCALHOUR}} = 01
12-hour clock Hour 2 digits {{#time:xnh}} = 01 {{#time:h}} = 01 {{#timel:xnh}} = 01 {{#timel:h}} = 01
1 or 2 digits {{#time:xng}} = 1 {{#time:g}} = 1 {{#timel:xng}} = 1 {{#timel:g}} = 1

Tests:

  • {{#titleparts:{{FULLPAGENAME}}|1|3}} = 2014
  • {{#titleparts:{{FULLPAGENAME}}|1|4}} = 01
  • {{Previous ISO week | format = o/W | lang=en | isoyear = {{#titleparts:{{FULLPAGENAME}}|1|3}} | isoweek = {{#titleparts:{{FULLPAGENAME}}|1|4}}}} = 2013/52
  • {{Current ISO week | format = o/W | lang=en | isoyear = {{#titleparts:{{FULLPAGENAME}}|1|3}} | isoweek = {{#titleparts:{{FULLPAGENAME}}|1|4}}}} = 2014/01
  • {{Next ISO week | format = o/W | lang=en | isoyear = {{#titleparts:{{FULLPAGENAME}}|1|3}} | isoweek = {{#titleparts:{{FULLPAGENAME}}|1|4}}}} = 2014/02
  • "pt"
  • Page language code detected: pt
  • Transclusion parameters | 1 =| 2 =|