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'