nextcloud / nextcloud/tables

Metadata using wrong Timestamp / Timezone

Open
#2,105 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Steps to reproduce
  1. Relativly fresh Install of Nextcloud (occouring in all of our instances)
  2. Install Tables App
  3. Create new Table
  4. Add new View with all Metadata
  5. See that the last edited timestamp ist made 2 hours in the past (wrong Timezone, my Timzone: UTC +2)
Expected behavior

The Table schould create Timestamps based on the Nextcloud Server-Time, found in the Nextcloud-Admin-Settings --> System --> Systemtime

Actual behavior

The Timestamp created does not match the Servertime

Tables app version

0.9.5

Browser

Edge 139

Client operating system

No response

Operating system

Kubernetes

Web server

Nginx

PHP engine version

PHP 8.3

Database

PostgreSQL

Additional info

Nextcloud-Version: 30.0.8

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 timestamp mismatch in a fresh Nextcloud installation with the Tables app, using the metadata view and comparing it with the server time shown in Nextcloud Admin Settings. Trace where the last-edited timestamp is created and verify that the result matches the configured server timezone, including the PostgreSQL setup described here.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, postgresql
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.