Topic on Extension talk:Semantic Forms Inputs

Martinwiss (talkcontribs)

Dates are stored like this YYYY/MM/DD. What is the best way to store this date as an ISO-formatted date (YYYY-MM-DD) in the template for this form?

    [[Has start date::{{{Start date|}}}]]

I tried #formatdate/#dateformat but didn't get it to work.

    [[Has start date::{{#formatdate:{{{Start date|}}}|ISO 8601}}]]

If it is not possible to store the date this way: Is it possible to display dates as YYYY-MM-DD?

Sorry, I don't know any solution.

Martinwiss (talkcontribs)

Used:

    [[Has start date::{{#replace:{{{Start date|}}}|/|-}}]]
F.trott (talkcontribs)
Reply to "Slashes"