nextcloud / nextcloud/deck

Deck Activity always showing in UTC

Open
#6,378 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: activity translation
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
Dates in Activity always display in UTC: "You have updated the due date of card X to 6 October 2024, 10:00:00pm UTC"

To Reproduce
Steps to reproduce the behavior:

  1. Add due date to card
  2. Click 'Activity' tab

Expected behavior
Dates and times are shown in user's locale.

Actual behavior
Dates and times are hardcoded in UTC which is not useful nor accurate for user.

Client details:

  • OS: [e.g. iOS] All
  • Browser [e.g. chrome, safari] All
Server details

Operating system:
Ubuntu 22.04.5 LTS

Web server:
nginx version: nginx/1.18.0 (Ubuntu)

Database:
psql (PostgreSQL) 14.13 (Ubuntu 14.13-0ubuntu0.22.04.1)

PHP version:
PHP 8.2.24 (cli) (built: Sep 27 2024 04:04:39) (NTS)

Nextcloud version: (see Nextcloud admin page)
29.0.7.1

Where did you install Nextcloud from:
nextcloud.com, manual

Signing status:
No errors have been found.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue: add a due date to a card, then open the Activity tab and inspect where the date and time are rendered. Trace the Activity display path for the UTC suffix and locale handling; done means dates and times appear in the user's locale rather than always showing UTC.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.