[
https://issues.apache.org/jira/browse/AIRAVATA-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094046#comment-14094046
]
Marlon Pierce commented on AIRAVATA-1379:
-----------------------------------------
I think we should use UTC. An Airavata operator doesn't necessarily know where
the server runs in an Amazon cloud scenario, and the gateway operator needs to
know the time zone used by Airavata if converting to a more gateway-friendly
time zone.
> Date() settings in PGA gateway
> ------------------------------
>
> Key: AIRAVATA-1379
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1379
> Project: Airavata
> Issue Type: Improvement
> Reporter: Marlon Pierce
>
> The PGA gateway uses PHP's date() function to convert Airavata's time integer
> into human-readable form. This results in a warning message:
> Warning: date(): It is not safe to rely on the system's timezone settings.
> The solution is to set the time zone. This can either be done in the PHP
> pages that use date() or else globally in php.ini file, but I prefer the
> former since it makes PGA more self-contained.
> We need however to confirm the timezone of the timestamp returned by Airavata.
--
This message was sent by Atlassian JIRA
(v6.2#6252)