Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Date of an Entry changes after first Creation of an Entry

オープン
#15,615 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
40/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
laravel, php
領域
backend

調査の方向性

The payload names no file, so start by reproducing: create an entry with the Eloquent entries driver under the Europe/Berlin timezone and compare the date saved on first save with the date entered. Find where the date is parsed or converted on save for the entry's date field. Done means a newly created entry keeps the date the user set, and the fix is confirmed by a test that saves an entry across the timezone boundary.

索引モデルが issue の本文から書いたものです。

説明

dates
Bug description

If I create a new entrie and save it, the Date ist set to 1 day before today.

Image Image Image Image
How to reproduce

Create an Entrie. Save the first time and the date is set to an day before today.

Logs

Environment
Environment
Laravel Version: 13.34.0
PHP Version: 8.5.8
Composer Version: 2.10.2

Timezone: Europe/Berlin
Locale: de

Locales
Installed: cs, da, de, en, nb, nl, nn
LaravelLang\Lang\Plugin: 15.37.3
Locales Version: 2.11.0
Protected: de, en
Publisher Version: 16.8.0

Livewire
Livewire: v4.4.7

Statamic
Version: 6.34.1 PRO

Statamic Eloquent Driver
Addon Settings: file
Asset Containers: file
Assets: file
Blueprints: file
Collection Trees: eloquent
Collections: eloquent
Entries: eloquent
Fieldsets: file
Form Submissions: eloquent
Forms: eloquent
Global Sets: eloquent
Global Variables: eloquent
Navigation Trees: eloquent
Navigations: eloquent
Revisions: eloquent
Sites: file
Taxonomies: eloquent
Terms: eloquent
Tokens: file
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

主要言語
PHP
スター
4.9k
フォーク
647
平均マージ
1日 9時間
マージ済み PR(30日)
102

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

statamic/cms のほかの issue

statamic/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。