Template:ISOdate

From ITCwiki
Jump to navigation Jump to search

{{#ifeq: | | | {{#if: {{#iferror: {{#expr: {{{1}}} }} | | {{#ifeq: {{{1}}} | {{#expr: {{{1}}} }} |1|}} }} | Template:Date | {{#iferror: {{#time: | {{{1}}} }}{{#time: | a{{{1}}} }} | {{#iferror: {{#expr: {{{1}}} }} | {{{1}}} | {{#ifexpr: ({{{1}}} <= 998) and ({{{1}}} >= -11) | {{#iferror: {{#time: Y | {{{1}}} }} | {{{1}}} | {{#ifexpr: ({{#time: Y | {{{1}}} }} >= 1958) and ({{{1}}} <= 98) | {{#ifeq: {{{1}}} | {{#expr: {{#time: y | {{{1}}} }} }}-{{#time: m | {{{1}}} }} | Template:Date | {{{1}}} }} | {{#ifeq: {{{1}}} | {{#expr: {{#time: Y | {{{1}}} }} }}-{{#time: m | {{{1}}} }} | Template:Date | {{{1}}} }} }} }} | {{{1}}} }} }} | {{#ifeq:

  1. {{{1}}} | #{{{1}}} | Template:Date | {{#switch: {{{1}}}

|{{#expr: {{#time:Y| {{{1}}} }} - 1900 }}-{{#time:m-d H:i:sZ| {{{1}}} }} |{{#expr: {{#time:Y| {{{1}}} }} - 1900 }}-{{#time:m-d H:i:s| {{{1}}} }}=Template:Date{{#ifeq: | Y | | Template:Date-time separatorTemplate:Time }} |{{#expr: {{#time:Y| {{{1}}} }} - 1900 }}-{{#time:m-d H:i| {{{1}}} }}=Template:Date{{#ifeq: | Y | | Template:Date-time separatorTemplate:Time }} |{{#expr: {{#time:Y| {{{1}}} }} - 1900 }}-{{#time:m-d| {{{1}}} }}=Template:Date |{{#expr: {{#time:Y| {{{1}}} }} - 1900 }}-{{#time:m| {{{1}}} }}=Template:Date |{{#expr: {{#time:Y| {{{1}}} }} - 1900 }}=Template:Date |{{#expr: {{#time:Y| {{{1}}} }} - 2000 }}-{{#time:m-d H:i:sZ| {{{1}}} }} |{{#expr: {{#time:Y| {{{1}}} }} - 2000 }}-{{#time:m-d H:i:s| {{{1}}} }}={{#ifexpr: {{#expr: {{#time:Y| {{{1}}} }} - 2000 }} < 32 | Template:Date{{#ifeq: | Y | | Template:Date-time separatorTemplate:Time }} }} |{{#expr: {{#time:Y| {{{1}}} }} - 2000 }}-{{#time:m-d H:i| {{{1}}} }}={{#ifexpr: {{#expr: {{#time:Y| {{{1}}} }} - 2000 }} < 32 | Template:Date{{#ifeq: | Y | | Template:Date-time separatorTemplate:Time }} }} |{{#expr: {{#time:Y| {{{1}}} }} - 2000 }}-{{#time:m-d| {{{1}}} }}={{#ifexpr: {{#expr: {{#time:Y| {{{1}}} }} - 2000 }} < 32 | Template:Date }} |{{#expr: {{#time:Y| {{{1}}} }} - 2000 }}-{{#time:m| {{{1}}} }}={{#ifexpr: {{#expr: {{#time:Y| {{{1}}} }} - 2000 }} < 32 | Template:Date }} |{{#expr: {{#time:Y| {{{1}}} }} - 2000 }}={{#ifexpr: {{#expr: {{#time:Y| {{{1}}} }} - 2000 }} < 32 | {{{1}}} | Template:Date }} |{{#time:Y-m-d H:i:sZ| {{{1}}} }} |{{#time:Y-m-d H:i:s| {{{1}}} }}=Template:Date{{#ifeq: | Y | | Template:Date-time separatorTemplate:Time }} |{{#time:Y-m-d H:i| {{{1}}} }}=Template:Date{{#ifeq: | Y | | Template:Date-time separatorTemplate:Time }} |{{#time:Y-m-d| {{{1}}} }}=Template:Date |{{#time:Y-m| {{{1}}} }}=Template:Date |{{#time:Y| {{{1}}} }}=Template:Date |#default= {{{1}}} }} }} }} }} }}