From 83da44528363acf6f3b526841ab0bb37eeac7b47 Mon Sep 17 00:00:00 2001
From: Harry Day
Date: Thu, 25 Aug 2022 00:46:03 +0100
Subject: [PATCH 1/8] Add Time Element
---
Sources/Plot/API/HTML.swift | 5 ++++
Sources/Plot/API/HTMLAttributes.swift | 8 ++++++
Sources/Plot/API/HTMLElements.swift | 8 ++++++
.../Plot/Internal/DateFormatter+string.swift | 26 +++++++++++++++++++
Tests/PlotTests/HTMLTests.swift | 10 +++++++
5 files changed, 57 insertions(+)
create mode 100644 Sources/Plot/Internal/DateFormatter+string.swift
diff --git a/Sources/Plot/API/HTML.swift b/Sources/Plot/API/HTML.swift
index b4df976..5e6e84c 100644
--- a/Sources/Plot/API/HTML.swift
+++ b/Sources/Plot/API/HTML.swift
@@ -138,6 +138,8 @@ public extension HTML {
enum TableContext: HTMLStylableContext {}
/// The context within an HTML `` element.
enum TableRowContext: HTMLStylableContext {}
+ /// The context within an HTML `