Commit b8bd067
authored
chore: use creation time instead of approved time. (halo-dev#32)
#### What type of PR is this?
/kind improvement
#### What this PR does / why we need it:
使用创建时间代替审核时间
#### Which issue(s) this PR fixes:
Fixes halo-dev/halo#3915
#### Special notes for your reviewer:
1. 安装可测试插件 [plugin-comment-widget-1.5.0-SNAPSHOT.jar.zip](https://github.com/halo-sigs/plugin-comment-widget/files/11450596/plugin-comment-widget-1.5.0-SNAPSHOT.jar.zip)
2. console 端开启评论审核
3. 发起一个评论并等待一段时间前往 console 端进行审核
4. 查看界面评论时间是否为创建时间而非审核通过时间
#### Does this PR introduce a user-facing change?
```release-note
使用创建时间替代审核时间
```1 parent 8b3c160 commit b8bd067
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- packages/comment-widget/src/components
- src/main/resources/static
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments