From 63895bed2d85cc1dcff06af109f4e033bc7ae445 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Mon, 18 Oct 2021 23:10:09 -0500 Subject: [PATCH] Simplify date formats --- template.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/template.html b/template.html index a6fec00..9e09c18 100644 --- a/template.html +++ b/template.html @@ -42,7 +42,7 @@ {{if .Available}}
  • {{.DomainName}} – Available!
  • {{else}} -
  • {{.DomainName}} – Registered since {{(parseTime .DomainInfo.CreatedDate).Format "Mon Jan 2 2006" }}
  • +
  • {{.DomainName}} – Registered since {{(parseTime .DomainInfo.CreatedDate).Format "Jan 2, 2006" }}
  • {{end}} {{end}} {{end}} @@ -52,12 +52,12 @@

    {{.DomainName}}

    Fetched
    -
    {{.FetchTime.Format "Mon Jan 2 15:04:05 -0700 MST 2006" }}
    +
    {{.FetchTime.Format "Jan 2, 2006 15:04:05 -0700" }}
    {{if not .Available}}
    Owner
    {{.Registrant.Name}} <{{.Registrant.Email}}>
    Since
    -
    {{(parseTime .DomainInfo.CreatedDate).Format "Mon Jan 2 2006" }}
    +
    {{(parseTime .DomainInfo.CreatedDate).Format "Jan 2, 2006" }}
    {{end}} {{with .Title}}
    Title
    @@ -70,7 +70,7 @@
    {{if .ScreenshotURL}} - screenshot of {{.DomainName}} as of {{.FetchTime.Format + screenshot of {{.DomainName}} as of {{.FetchTime.Format {{end}} {{end}}