Nikolay Sokolov created GRIFFIN-206:
---------------------------------------

             Summary: Wrong sign of time zone offset when created from UI
                 Key: GRIFFIN-206
                 URL: https://issues.apache.org/jira/browse/GRIFFIN-206
             Project: Griffin (Incubating)
          Issue Type: New Feature
            Reporter: Nikolay Sokolov
            Assignee: Nikolay Sokolov


When job is created from UI, time zone offset is created by this piece of code:
{code:none}
let time = new Date().getTimezoneOffset() / 60;
let timezone = "GMT" + time + ":00";
{code}

Problem is, that for GMT-7 it yields positive number, resulting in calculated 
timezone to be GMT+7.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to