From 6f7fa67135812aff92791f7e2e9b63b30cb479a5 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Fri, 11 Aug 2023 21:34:04 +0100 Subject: [PATCH] refactor: move DateFormatter to child ns --- OliverBooth/{ => Formatting}/DateFormatter.cs | 2 +- OliverBooth/Services/TemplateService.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename OliverBooth/{ => Formatting}/DateFormatter.cs (96%) diff --git a/OliverBooth/DateFormatter.cs b/OliverBooth/Formatting/DateFormatter.cs similarity index 96% rename from OliverBooth/DateFormatter.cs rename to OliverBooth/Formatting/DateFormatter.cs index 292143f..d70d970 100644 --- a/OliverBooth/DateFormatter.cs +++ b/OliverBooth/Formatting/DateFormatter.cs @@ -1,7 +1,7 @@ using System.Globalization; using SmartFormat.Core.Extensions; -namespace OliverBooth; +namespace OliverBooth.Formatting; /// /// Represents a SmartFormat formatter that formats a date. diff --git a/OliverBooth/Services/TemplateService.cs b/OliverBooth/Services/TemplateService.cs index f0bef6e..e678c9d 100644 --- a/OliverBooth/Services/TemplateService.cs +++ b/OliverBooth/Services/TemplateService.cs @@ -4,6 +4,7 @@ using Markdig.Syntax; using Microsoft.EntityFrameworkCore; using OliverBooth.Data; using OliverBooth.Data.Web; +using OliverBooth.Formatting; using OliverBooth.Markdown.Template; using SmartFormat; using SmartFormat.Extensions;