Skip to content

Comments

Enhancement: Apply user's timezone to meta fields#2210

Open
Koc wants to merge 2 commits intomainfrom
feature/apply-users-timezone
Open

Enhancement: Apply user's timezone to meta fields#2210
Koc wants to merge 2 commits intomainfrom
feature/apply-users-timezone

Conversation

@Koc
Copy link
Contributor

@Koc Koc commented Dec 7, 2025

Right now createdAt/lastEditAt displays UTC timezone. This makes Tables module non-user friendly for a non-technical people who live not in England 😄 . With this PR BE will continue store dates in UTC format without any transformations. At the same time FE handles:

  • formatting from UTC to local browser's timezone during output
  • formatting back from local browser's timezone to UTC before storing data

@Koc Koc requested review from blizzz and enjeck as code owners December 7, 2025 23:15
@Koc Koc force-pushed the feature/apply-users-timezone branch 2 times, most recently from e9c231b to fd99a82 Compare December 7, 2025 23:24
@blizzz
Copy link
Member

blizzz commented Dec 8, 2025

I am not sure whether we should do this on the backend, or let the client decide what/how the date and time is being presented. Giving UTC leaves most flexibility to the web interface or any other client. No?

@blizzz blizzz added enhancement New feature or request 3. to review Waiting for reviews labels Dec 8, 2025
@Koc Koc force-pushed the feature/apply-users-timezone branch from fd99a82 to 3b9b19e Compare December 18, 2025 15:40
@Koc
Copy link
Contributor Author

Koc commented Dec 18, 2025

indeed, I've changed approach. Now BE stores dates in UTC format without any transformations. At the same time FE handles:

  • formatting from UTC to local browser's timezone during output
  • formatting back from local browser's timezone to UTC before storing data

Work still in progress, I'm testing various scenarios

@Koc Koc force-pushed the feature/apply-users-timezone branch from 11457bd to 098edb3 Compare December 18, 2025 16:33
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
@Koc Koc force-pushed the feature/apply-users-timezone branch from 098edb3 to e261963 Compare February 12, 2026 18:40
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
@Koc Koc force-pushed the feature/apply-users-timezone branch from e261963 to 90309b9 Compare February 12, 2026 23:17
@blizzz
Copy link
Member

blizzz commented Feb 13, 2026

Work still in progress, I'm testing various scenarios

Cool, let us know when it's there or when we can be of help.

@Koc
Copy link
Contributor Author

Koc commented Feb 13, 2026

@blizzz more or less done, you can proceed with review and testing. I can't find any other places that should be adjusted. And we have green pipeline BTW 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants