mullema/k3-date-format

Example for date format change in the date field and it's structure field preview.


Keywords
kirby3, kirby3-plugin, panel
License
MIT

Documentation

Change date format in panel date fields

The Plugin changes the format to DD.MM.YYYY for the date field and it's structure field preview. With this example it should be easy to adapt the format to your needs.

dayjs is used to work with dateformats https://github.com/iamkun/dayjs

Tested with Kirby 3.0

Screenshot

Datefield

StructureField

Installation

Download

Download and copy this repository to /site/plugins/k3-date-format

Git submodule

git submodule add https://github.com/mullema/k3-date-format.git site/plugins/k3-date-format

Composer

composer require mullema/k3-date-format