From e08fae78c79a2c1e4d706f5a1d7d438f2621e8a1 Mon Sep 17 00:00:00 2001 From: Hugo Thunnissen Date: Thu, 16 Apr 2020 08:10:10 +0200 Subject: [PATCH] Use --rfc-email option in stead of format string for RFC 822 date times. --- blog.html | 6 +++--- feed.xml | 10 +++++----- generate-blog.bash | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/blog.html b/blog.html index 76af985..be699f0 100644 --- a/blog.html +++ b/blog.html @@ -25,7 +25,7 @@

Blog

-

How To Use Your Email Client For Physical Mail

Mon, 17 Feb 2020 11:55:42 CET

<article> +

How To Use Your Email Client For Physical Mail

Mon, 17 Feb 2020 11:55:42 +0100

<article> <h1> How To Use Your Email Client For Physical Mail </h1> @@ -138,9 +138,9 @@ </p> </article> ... Continue reading

-

Creating a Simple Static Blog

Sat, 08 Feb 2020 12:14:16 CET

... Continue reading

+

Creating a Simple Static Blog

Sat, 08 Feb 2020 12:14:16 +0100

... Continue reading

-

Introduction

Sat, 08 Feb 2020 09:30:06 CET

<article> +


Introduction

Sat, 08 Feb 2020 09:30:06 +0100

<article> <h1> Introduction </h1> diff --git a/feed.xml b/feed.xml index f1804bf..ca609a9 100644 --- a/feed.xml +++ b/feed.xml @@ -5,8 +5,8 @@ https://hugot.nl/blog.html Hugo's personal blog en-us - Thu, 16 Apr 2020 08:01:27 CEST - Thu, 16 Apr 2020 08:01:27 CEST + Thu, 16 Apr 2020 08:09:31 +0200 + Thu, 16 Apr 2020 08:09:31 +0200 http://blogs.law.harvard.edu/tech/rss Hugo's Custom Bash Script social@hugot.nl (Hugot) @@ -122,9 +122,9 @@ don&#39;t recommend using it if you don&#39;t fully understand its contents, it&#39;s not a polished user experience 🤓. </p> -</article>Mon, 17 Feb 2020 11:55:42 CET How To Use Your Email Client For Physical Mail NDc2MDg1MjYxIDQxODUK +</article>Mon, 17 Feb 2020 11:55:42 +0100 How To Use Your Email Client For Physical Mail NDc2MDg1MjYxIDQxODUK - Creating a Simple Static Blog https://hugot.nl/posts/simple-static-blog/index.htmlSat, 08 Feb 2020 12:14:16 CET Creating a Simple Static Blog MjU5OTIyNDIwMyA2MTI5Cg== + Creating a Simple Static Blog https://hugot.nl/posts/simple-static-blog/index.htmlSat, 08 Feb 2020 12:14:16 +0100 Creating a Simple Static Blog MjU5OTIyNDIwMyA2MTI5Cg== Introduction https://hugot.nl/posts/introduction/index.html<article> <h1> @@ -159,7 +159,7 @@ <p> I hope to see you around! - Hugo </p> -</article>Sat, 08 Feb 2020 09:30:06 CET Introduction MzYzMzkyNDgwOCA5MDcK +</article>Sat, 08 Feb 2020 09:30:06 +0100 Introduction MzYzMzkyNDgwOCA5MDcK diff --git a/generate-blog.bash b/generate-blog.bash index 7494583..16e05a7 100755 --- a/generate-blog.bash +++ b/generate-blog.bash @@ -68,7 +68,7 @@ print-blog-html-bottom() { } rfc-822-date-time() { - LC_ALL=C date "$@" +'%a, %d %b %Y %H:%M:%S %Z' + LC_ALL=C date "$@" --rfc-email } # Note: pubDate and lastBuildDate are both set to the current time.