You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cl...@apache.org on 2022/04/23 00:36:29 UTC

[whimsy] 01/01: Update memstat.json.rb

This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch emeritus-timestamp-timezone
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit a5cee4fc7e84386d71b92617771909e176c49a22
Author: Craig L Russell <ap...@gmail.com>
AuthorDate: Fri Apr 22 17:36:25 2022 -0700

    Update memstat.json.rb
    
    Add time zone to timestamp for submitted document
---
 www/roster/views/actions/memstat.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/actions/memstat.json.rb b/www/roster/views/actions/memstat.json.rb
index 39e72989..78399c89 100644
--- a/www/roster/views/actions/memstat.json.rb
+++ b/www/roster/views/actions/memstat.json.rb
@@ -6,7 +6,7 @@ raise Exception.new("Unable to find member entry for #{@userid}") unless entry
 USERID = user.id
 USERMAIL = "#{USERID}@apache.org"
 USERNAME = user.cn
-TIMESTAMP = (DateTime.now.strftime "%Y-%m-%d %H:%M:%S")
+TIMESTAMP = (DateTime.now.strftime "%Y-%m-%d %H:%M:%S %:z")
 
 # identify file to be updated
 members_txt = ASF::SVN.svnpath!('foundation', 'members.txt')