hashandsalt/kirby3-duration

Kirby 3 - Duration

v0.0.1 2020-09-20 15:31 UTC

This package is auto-updated.

Last update: 2022-07-20 19:27:48 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')