https://github.com/getgrav/grav-plugin-auto-date
Grav Auto Date Plugin
https://github.com/getgrav/grav-plugin-auto-date
date dates grav grav-admin grav-plugin
Last synced: 12 months ago
JSON representation
Grav Auto Date Plugin
- Host: GitHub
- URL: https://github.com/getgrav/grav-plugin-auto-date
- Owner: getgrav
- License: mit
- Created: 2016-09-30T14:52:06.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2022-01-04T09:41:31.000Z (over 4 years ago)
- Last Synced: 2025-04-19T07:42:26.836Z (about 1 year ago)
- Topics: date, dates, grav, grav-admin, grav-plugin
- Language: PHP
- Homepage: https://getgrav.org
- Size: 8.79 KB
- Stars: 12
- Watchers: 7
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto Date Plugin
The **Auto Date** Plugin is designed for [Grav CMS](https://github.com/getgrav/grav) and automatically adds the current date to frontmatter when creating a new page via the Admin plugin.
## Description
There's not much to this plugin, simply install it and whenever you create a new page via the admin plugin, the current date will be inserted in the frontmatter of the page and show up in the **Options** -> **Publishing** Tab. The format of the date is dependent upon the value set in `system.yaml` under `pages: dateformat: default` and if not set will use `H:i d-m-Y` as the date format.