From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
inc/managers/SEO/render/Thing/Intangible/Quantity/Duration.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/inc/managers/SEO/render/Thing/Intangible/Quantity/Duration.php b/inc/managers/SEO/render/Thing/Intangible/Quantity/Duration.php
index 47a4faf..bcf88f0 100644
--- a/inc/managers/SEO/render/Thing/Intangible/Quantity/Duration.php
+++ b/inc/managers/SEO/render/Thing/Intangible/Quantity/Duration.php
@@ -10,6 +10,11 @@
class Duration extends Thing
{
+ public function __construct(string $duration)
+ {
+ $this->duration = date('c', $duration);
+ }
+
/**
* @var string Duration (use ISO 8601 duration format).
*/
--
Gitblit v1.10.0