From 9973e323b156136e6adbfe51595e24c8d2feab77 Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Tue, 16 Aug 2022 11:57:46 -0230 Subject: [PATCH] Add timezone to date string --- apps/www/lib/rss.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/www/lib/rss.tsx b/apps/www/lib/rss.tsx index 639850a662c..f0becd3fd6e 100644 --- a/apps/www/lib/rss.tsx +++ b/apps/www/lib/rss.tsx @@ -12,7 +12,7 @@ const generateRssItem = (post: any): string => { ${post.title} https://supabase.com${post.path} ${post.description} - ${dayjs(post.date).utc().format('ddd, DD MMM YYYY HH:hh:mm')} + ${dayjs(post.date).utc().format('ddd, DD MMM YYYY HH:hh:mm ZZ')} ` } @@ -27,7 +27,7 @@ export const generateRss = (posts: any[]): string => { en ${dayjs(posts[0].date) .utc() - .format('ddd, DD MMM YYYY HH:hh:mm')} + .format('ddd, DD MMM YYYY HH:hh:mm ZZ')} ${posts.map(generateRssItem).join('')}