Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Scheduler] Match next run timezone with "from" timezone#51674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:6.3fromvaltzu:scheduler-timezone-fix
Sep 16, 2023

Conversation

@valtzu
Copy link
Contributor

QA
Branch?6.3
Bug fix?yes
New feature?no
Deprecations?no
LicenseMIT

As discussed in#51651 (comment), when a datetime object is created from unix timestamp, the timezone constructor argument is ignored as demonstrated inhttps://onlinephp.io/c/b07d1 and also mentioned inPHP documentation:

The $timezone parameter and the current timezone are ignored when the $datetime parameter either is a UNIX timestamp (e.g. @946684800) or specifies a timezone (e.g. 2010-01-28T15:00:00+02:00).

This change shouldn't break any existing logic, given the places where this time is used already include timezone in the date format string.

Changes in effect

  ------------- ------------------------------------ ---------------------------    Message       Trigger                              Next Run                     ------------- ------------------------------------ ----------------------------  TestMessage   PeriodicalTrigger: every 2 seconds   2023-09-16T15:54:46+00:00+  TestMessage   PeriodicalTrigger: every 2 seconds   2023-09-16T18:54:46+03:00  ------------- ------------------------------------ ---------------------------

@fabpot
Copy link
Member

Thank you@valtzu.

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

Reviewers

@fabpotfabpotfabpot approved these changes

@kbondkbondAwaiting requested review from kbondkbond is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.3

Development

Successfully merging this pull request may close these issues.

3 participants

@valtzu@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp