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:28 UTC

[whimsy] branch emeritus-timestamp-timezone created (now a5cee4fc)

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

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


      at a5cee4fc Update memstat.json.rb

This branch includes the following new commits:

     new a5cee4fc Update memstat.json.rb

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by cl...@apache.org.
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')