hashandsalt / kirby3-duration
Kirby 3 - Duration
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:kirby-plugin
Requires
- gamez/duration: ^4.1
- getkirby/composer-installer: ^1.1
This package is auto-updated.
Last update: 2024-11-21 00:43:37 UTC
README
This plugin is for easily generating durations from a time. This is useful for structured data like JSON Schema.
Install
Download
Download and copy this repository to /site/plugins/kirby3-duration
.
Composer
composer require hashandsalt/kirby3-duration
Commercial Usage
This plugin is free but if you use it in a commercial project please consider to
Usage
To turn 2 hours, 30 minutes, and 47 seconds into PT2H30M47S
.
$page->duration('02:30:47')