Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

fix: saving an post causes the publish time to be lost #809

Conversation

ruibaby
Copy link
Member

@ruibaby ruibaby commented Dec 29, 2022

What type of PR is this?

/kind bug

What this PR does / why we need it:

修复保存文章设置导致发布时间丢失的问题。

see #807

Which issue(s) this PR fixes:

Fixes halo-dev/halo#3080

Special notes for your reviewer:

测试方式:

  1. 创建若干文章。
  2. 返回到文章管理列表。
  3. 打开任意文章的设置。
  4. 检查发布时间是否回显,然后保存。
  5. 保存之后检查发布时间是否还存在。

Does this PR introduce a user-facing change?

修复 Console 端保存文章设置导致发布时间丢失的问题。

@f2c-ci-robot f2c-ci-robot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels Dec 29, 2022
@vercel
Copy link

vercel bot commented Dec 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ui ✅ Ready (Inspect) Visit Preview Dec 29, 2022 at 1:39PM (UTC)

Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Dec 29, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 29, 2022
Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Dec 29, 2022
@JohnNiang
Copy link
Member

/milestone 2.0.x

@f2c-ci-robot f2c-ci-robot bot added this to the 2.0.x milestone Dec 29, 2022
@f2c-ci-robot f2c-ci-robot bot merged commit bc3337b into halo-dev:release-2.0 Dec 29, 2022
@ruibaby ruibaby deleted the fix/post-publish-time-update-release-2.0 branch December 29, 2022 13:44
@JohnNiang JohnNiang modified the milestones: 2.0.x, 2.0.3 Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
3 participants