hashandsalt/kirby3-duration

Kirby 3 - Duration

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:kirby-plugin

pkg:composer/hashandsalt/kirby3-duration

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

This package is auto-updated.

Last update: 2025-09-21 02:52:09 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')