semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Feature: UI Schedule Next run in XXX uses web browser TZ instead of Semaphore server TZ

Open lwandrebeck opened this issue 1 year ago • 1 comments

Related to

Web-Frontend (what users interact with), Service (scheduled tasks, alerts)

Impact

better user experience

Missing Feature

Hi,

My Semaphore server uses UTC, whereas my local machine uses CEST. Having scheduled a daily run at 7:50, at 8CEST (6UTC), Semaphore UI says Next run in a day instead of 2 hours. Using web browser TZ instead of Semaphore server TZ for such calculations is confusing.

Implementation

As I don’t do JS nor vue or whatever, no obvious fix comes to me. Maybe some config variable that could be used in web/src/components/ScheduleForm.vue ?

Design

No response

lwandrebeck avatar Aug 01 '24 08:08 lwandrebeck

Sounds like this old bug #1226

ace-kzimm avatar Aug 08 '24 15:08 ace-kzimm

It is confusing that the log timestamps do not match the timestamps in the web browser. It would help us too if they could match (UTC everywhere).

macau23 avatar Nov 06 '25 06:11 macau23

@macau23 you can use environment variable SEMAPHORE_SCHEDULE_TIMEZONE to provide time zone for schedules.

fiftin avatar Nov 06 '25 07:11 fiftin