hashandsalt/kirby3-duration

Kirby 3 - Duration

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

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')