[Bug]: new Canada/BC timezone PCT for "Vancouver" not working in nextcloud

Đang mở
#67,020 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

The payload names no source file, so start by searching the codebase for the America/Vancouver identifier and for where the user's timezone is resolved or mapped. Reproduce the report's php -r check and compare it with what the calendar shows. Done means Vancouver displays the correct local time after the tzdata change, and the maintainers have agreed whether the fix is a mapping update or a dependency change.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

0. Needs triage 34-feedback bug
⚠️ This issue respects the following points: ⚠️
  • This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
  • This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
  • I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
  • I agree to follow Nextcloud's Code of Conduct.
  • I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description

Canada/BC stopped doing daylight savings this year. tzdata 2026b picked this up and now maps "America/Vancouver" to MST tho I suspect a further update will be forthcoming as the timezone was named last month "PCT".

All my nextclouds that I use did the daylight savings time jump as I'm set to "America/Vancouver". I can confirm one is running on a php 8.2 system with a new tzdata and running php -r 'date_default_timezone_set("America/Vancouver"); echo date("T");' on it gets MST back. And yet nextcloud mismapped me, so as far as I can tell, Nextcloud may be managing it's own timezone mappings and need an update?

Steps to reproduce
  1. Set timezone to "America/Vancouver"
  2. Check calendar

The time is off by one hour

Expected behavior

The time reflects the timezone i am in (PCT or MST)

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

None

Web server

Apache (supported)

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Ngôn ngữ chính
PHP
Star
37.6k
Fork
5.4k
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
623

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/server

Tất cả issue của nextcloud/server

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.