Change date format of date field?

is it possible to change the format of the date field in the panel? in k2 we had the display property.

That’s not possible yet.

However an idea issue on Github for it does already exist: https://github.com/getkirby/ideas/issues/20

There’s a plugin for the DD.MM.YYYYplugin now: https://github.com/texnixe/kirby-plugins/issues/630

If you need another format, you could adapt that, I guess.

1 Like

I tried the new ‘format’ option, but the result is still the same:

date:
  label: Date
  type: date
  format: d.m.Y # also tried DD.MM.YYYY and other stuff, too

How does it work?

3 Likes

I have the same problem as daybugging right now.
The date shows correctly in the panel, but it’s still the YYYY-MM-DD format in the .txt. How can I change that?

That doesn’t matter though, because you can output the date however you want using the toDate() field method:

1 Like