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:44:26 UTC
[whimsy] branch coi-timestamp-timezone created (now eaea19e8)
This is an automated email from the ASF dual-hosted git repository.
clr pushed a change to branch coi-timestamp-timezone
in repository https://gitbox.apache.org/repos/asf/whimsy.git
at eaea19e8 Update coi.cgi
This branch includes the following new commits:
new eaea19e8 Update coi.cgi
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 coi.cgi
Posted by cl...@apache.org.
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 <ap...@gmail.com>
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'