Project

General

Profile

Actions

Bug #21263

closed

Time zone changes in Schedule future execution & Set up recurring execution

Added by Adam Ruzicka over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1426568

Description of problem:

Remote execution can be run 3 ways

1) Execute now

It executes after submitting job (No time zone issues)

2) Schedule future execution

It considers time zone from where you are running.
In my case IST

3) Set up recurring execution

It considers time zone where your lab where satellite running.
in my case EST

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. try Set up recurring execution & Schedule future execution
from different time zones.
2.
3.

Actual results:

Expected results:

Additional info:


Related issues 2 (0 open2 closed)

Related to foreman-tasks - Bug #15091: Wrong timestamps on failed tasks if user uses different timezone settingsClosedAdam Ruzicka05/19/2016Actions
Has duplicate foreman-tasks - Bug #14378: Wrong timezone in start_at fieldDuplicate03/29/2016Actions
Actions #1

Updated by Adam Ruzicka over 6 years ago

  • Target version set to 113

Using scheduled run uses the user's timezone, recurring logic takes the server's timezone. We should take into account the user's timezone when creating recurring logics.

Actions #2

Updated by Ivan Necas about 6 years ago

  • Has duplicate Bug #14378: Wrong timezone in start_at field added
Actions #3

Updated by Anonymous about 6 years ago

  • Status changed from New to Assigned
Actions #4

Updated by Anonymous about 6 years ago

  • Related to Bug #15091: Wrong timestamps on failed tasks if user uses different timezone settings added
Actions #5

Updated by Anonymous about 6 years ago

I cannot replicate the problem(s) described in this ticket: both scheduled tasks and future executions respect browser's timezone. It appears that https://github.com/theforeman/foreman-tasks/commit/fabd05cb15fc6757c4d9d8b0666c651c0ebb68aa fixed time-zone issues.

Actions #6

Updated by Anonymous about 6 years ago

  • Status changed from Assigned to Resolved
Actions #7

Updated by Ivan Necas about 6 years ago

Interesting, it seemed I was able to reproduce this recently, but when trying with https://github.com/theforeman/foreman-tasks/pull/311/files, the behaviour seemed consistent.

Actions

Also available in: Atom PDF