Github user chemikadze commented on a diff in the pull request: https://github.com/apache/incubator-griffin/pull/435#discussion_r224970940 --- Diff: ui/angular/src/app/job/create-job/batch/batch.component.ts --- @@ -134,8 +134,8 @@ export class BatchComponent implements OnInit, AfterViewChecked { return false; } this.measureid = this.getMeasureId(); - let time = new Date().getTimezoneOffset() / 60; - let timezone = "GMT" + time + ":00"; + let time = -(new Date().getTimezoneOffset() / 60); --- End diff -- @guoyuepeng @ashutakGG Moved to utility function. Angular is not my specialty, I was really surprised how much complexity Angular community has about it.
---