Date appears as January 1, 0001 on blog posts when submitted from bliss.js.org
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- hugo
- 领域
- content
调研方向
首先复现从 bliss.js.org 提交博客文章的过程,并检查生成的 Hugo frontmatter 日期和时区值。将输出的日期与 issue 中显示的格式进行比较;完成的标准是已提交的文章显示其实际日期,而不是 January 1, 0001,并且日期能够被正确解析。
由索引模型根据 Issue 内容生成。
描述
It seems Hugo gets upset when the date in the frontmatter is improperly formatted.
BlissJs appends the date as :
date: "2022-01-13 11:24:00 am"
timezone: "America/New_York"
When I change the date to either
date: 22-01-13 or date: "22-01-13 12:12:12 +0500 it parses just fine
- 主要语言
- Shell
- 星标
- 8
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BeyondCodeBootcamp/bliss-template 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
BeyondCodeBootcamp/bliss-template#3 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 3/5 1-2 天 新手友好度 25/100
-
More Automation未关闭
难度 3/5 1-2 天 新手友好度 35/100
查看 BeyondCodeBootcamp/bliss-template 的全部 Issue
相似的 Issue
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
obra/superpowers#2394 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
CachyOS/cachyos-aur-derived#772 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 70/100
kristofdegrave/homeassistant-smart-charging#1413 ·
维护者通常 1 天内回复