Skip to content

Use JS to convert timezones to local #15732

Closed
@silverwind

Description

@silverwind

The timestamp output in the UI is currently incorrectly using a single time zone set on the server so it will not show the correct dates for the user's current timezone. Instead, we should use something like https://github.com/github/time-elements to render dates in the user's local timezone. This features does require JS to work, otherwise it will display the server-rendered fallback date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions