From 46d681c6b825d21b3f698d793c4e630c687d90ad Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 21 May 2026 21:41:53 +0000
Subject: [PATCH] =Major CustomBlocks.php overhaul, expanding block support and customization from the editor. theme.json should now be updated on new themes to set brand colours, etc. Also note: major change to .col vs .row alignment: simplifying it to .top .bottom vs the confusion of the differences for .col/.row .start and .a-start
---
inc/managers/SEO/render/DataType/Date.php | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/inc/managers/SEO/render/DataType/Date.php b/inc/managers/SEO/render/DataType/Date.php
index 7521f08..b15cfbc 100644
--- a/inc/managers/SEO/render/DataType/Date.php
+++ b/inc/managers/SEO/render/DataType/Date.php
@@ -26,13 +26,9 @@
return $this->date;
}
- /**
- * @throws \DateMalformedStringException
- */
public function setDate(string $date):void
{
- $time = new \DateTime(strtotime($date));
- $time = $time->format('c');
+ $time = date('c', strtotime($date));
if ($time){
$this->date = $time;
}
--
Gitblit v1.10.0