borgbackupserver icon indicating copy to clipboard operation
borgbackupserver copied to clipboard

Schedules → Day View shows stale times after changing profile time zone (until plan is re-saved)

Open git-kick opened this issue 1 week ago • 1 comments

Description

After changing the user's time zone under Profile → Time Zone, the Day View under Schedules keeps showing existing plans at incorrect times. The Dashboard shows the correct times. Re-saving the affected plan (without changing anything) fixes the Day View.

Environment

  • BBS server: Docker image marcpope/borgbackupserver v2.102.0
  • Agent: Docker image marcpope/borgbackupserver-agent:2.102.0 (same host)
  • Host: Ubuntu VM (Hyper-V), system time zone Etc/UTC, NTP synced
  • Server and agent containers verified to have correct UTC time (date -u)

Steps to reproduce

  1. Fresh install, admin profile time zone left at the default (America/New_York — times were shown 5 h behind Munich local time).
  2. Create a client and a backup plan with a schedule.
  3. Run the plan manually.
  4. Change Profile → Time Zone to Europe/Berlin, log out and back in.
  5. Open Schedules → Day View.

Expected

Day View shows the plan (and the past run) in the newly selected time zone, consistent with the Dashboard.

Actual

  • Manual run actually executed at 07:51:44 UTC (08:51 Europe/Berlin), confirmed by agent log: Executing backup job #4 ... ::plan1-2026-11-23_07-51-44
  • Dashboard: correct time.
  • Schedules → Day View: shown at 06:05 — doesn't match any plausible time-zone offset.
  • After opening the plan and saving it again without changes, the Day View shows the correct time.

Workaround

Re-save every existing plan after changing the profile time zone.

Impact

Display only — backups ran correctly. But it's confusing and could lead users to misjudge when backups actually run.

git-kick avatar Nov 23 '26 08:11 git-kick

Thanks @git-kick, the steps made this easy to follow. The Day View was right: the plan was saved while your profile was on New York, so its times are New York times and it runs at that hour in Berlin. The bug was the re-save. Saving stamped your new zone on the same times and moved the backup by six hours, while the form still said the times were in New York.

In v2.102.1 a plan keeps its schedule's zone when you edit it, and plan summaries name the zone when it differs from yours (for example "Daily @ 00:05 America/New_York"). The plans you already re-saved now run on Berlin time. To put other plans on Berlin time, set the zone on the client's profile and apply the profile.

marcpope avatar Nov 27 '26 02:11 marcpope