airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chathuri Wimalasena (JIRA)" <>
Subject [jira] [Commented] (AIRAVATA-1379) Date() settings in PGA gateway
Date Mon, 11 Aug 2014 19:10:11 GMT


Chathuri Wimalasena commented on AIRAVATA-1379:

We are using now() and CURRENT_TIMESTAMP() functions when we update the time. In MySQL now()
function uses system timestamp. We can change it to use UTC or any other standard timezone
by adding the timestamp when we start mysql server. (mysqld_safe).

> Date() settings in PGA gateway
> ------------------------------
>                 Key: AIRAVATA-1379
>                 URL:
>             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

View raw message