From de915efb5e31e48d5ef4cde9bc77b6e5a6f338bf Mon Sep 17 00:00:00 2001 From: Oleg Valter Date: Sun, 22 Sep 2024 06:07:38 +0300 Subject: [PATCH] fixed current version date display (should be in UTC+0 for consistency) --- app/views/layouts/_footer.html.erb | 8 +++++--- config/initializers/zz_cache_setup.rb | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index bef789708..1a844450a 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -2,10 +2,10 @@ diff --git a/config/initializers/zz_cache_setup.rb b/config/initializers/zz_cache_setup.rb index d7a9fe5f0..ad4289887 100644 --- a/config/initializers/zz_cache_setup.rb +++ b/config/initializers/zz_cache_setup.rb @@ -1,3 +1,3 @@ Rails.cache.persistent 'current_commit', clear: true do - [`git rev-parse HEAD`.strip, `git log -1 --date=iso --pretty=format:%cd`.strip] + [`git rev-parse HEAD`.strip, `git log -1 --date=iso-strict --pretty=format:%cd`.strip] end