Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
/ k3-date-format Public archive

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

Notifications You must be signed in to change notification settings

mullema/k3-date-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published