Skip to content

Calendar highlights wrong day (UTC vs local timezone issue) #6

@sstruke

Description

@sstruke

Hi,

I’m running Framerr in Docker (TrueNAS SCALE).

System timezone: Europe/Ljubljana (CET)
Node runtime timezone: GMT+0100 (verified with new Date().toString())
Server date is correct.

However, the calendar highlights the next day as "today".
Example:
Actual date: Feb 23 (Monday)
Calendar highlights: Feb 24 (Tuesday)

Data from Plex is correct.
Only the "today" highlight is off by +1 day.

It looks like the frontend might be using toISOString() (UTC)
instead of local time when determining the current day.

Example from container:
new Date().toISOString() -> 2026-02-23T07:04:27.101Z
new Date().toLocaleDateString() -> 2/23/2026

Everything else works correctly.

Docker image: pickels23/framerr:latest

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions