[whimsy] 01/01: Update coi.cgi

2022-04-22 Thread clr
This is an automated email from the ASF dual-hosted git repository.

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

commit eaea19e81414e708ac88f0a75b47b6967279c0b8
Author: Craig L Russell 
AuthorDate: Fri Apr 22 17:44:23 2022 -0700

Update coi.cgi

Add time zone to date field in submitted document
---
 www/officers/coi.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/officers/coi.cgi b/www/officers/coi.cgi
index 3991e0e1..847c99a7 100755
--- a/www/officers/coi.cgi
+++ b/www/officers/coi.cgi
@@ -58,7 +58,7 @@ not_required_message = user_is_required ?' required':' not 
required'
 user_affirmation = SIGNERS.include? USERID
 have_affirmed_message = user_affirmation ? ' have affirmed' : ' have not 
affirmed'
 USER_IS_REQUIRED_BUT_NOT_AFFIRMED = (user_is_required and not user_affirmation)
-current_timestamp = DateTime.now.strftime "%Y-%m-%d %H:%M:%S"
+current_timestamp = DateTime.now.strftime "%Y-%m-%d %H:%M:%S %:z"
 PANEL_MESSAGE = USER_IS_REQUIRED_BUT_NOT_AFFIRMED ?
   'Sign Your Conflict of Interest Affirmation':
   'Thank you for signing the Conflict of Interest Affirmation'



[whimsy] 01/01: Update coi.cgi

2021-04-16 Thread clr
This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch coi-cc-secretary
in repository https://gitbox.apache.org/repos/asf/whimsy.git

commit e8cfc4476d5e7b9a0bc15ee61c899e8d0eb0bc56
Author: Craig L Russell 
AuthorDate: Fri Apr 16 14:44:28 2021 -0700

Update coi.cgi

Remove cc: secretary when filing COI document
---
 www/officers/coi.cgi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/www/officers/coi.cgi b/www/officers/coi.cgi
index f8f39d8..3991e0e 100755
--- a/www/officers/coi.cgi
+++ b/www/officers/coi.cgi
@@ -208,7 +208,6 @@ def emit_post(_)
 ASF::Mail.configure
 mail = Mail.new do
   to "#{USERNAME}<#{USERMAIL}>"
-  cc "secret...@apache.org"
   from USERMAIL
   subject "Conflict of Interest affirmation from #{USERNAME}"
   text_part do