Skip to content

PR#1747 – Jekyll error(Invalid date) #1748

@RalphHightower

Description

@RalphHightower
  • Invalid date '2025-05-015:24 PM': Document '_posts/2025/05/2025-05-01-BondiSaves75PctAmericansFentanylDeaths.md' does not have a valid date in the YAML front matter.
    Error: Process completed with exit code 1.
Run bundle exec jekyll build --trace --incremental --baseurl "/blog"
  bundle exec jekyll build --trace --incremental --baseurl "/blog"
  shell: /usr/bin/bash -e {0}
  env:
    GITHUB_PAGES: true
    JEKYLL_ENV: production
    JEKYLL_GITHUB_TOKEN: 
    LOG_LEVEL: debug
  
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Configuration file: /home/runner/work/blog/blog/_config.yml
            Source: /home/runner/work/blog/blog
       Destination: /home/runner/work/blog/blog/_site
 Incremental build: enabled
      Generating... 
             Error: could not read file /home/runner/work/blog/blog/_posts/2025/05/2025-05-01-BondiSaves75PctAmericansFentanylDeaths.md: Invalid date '2025-05-015:24 PM': Document '_posts/2025/05/2025-05-01-BondiSaves75PctAmericansFentanylDeaths.md' does not have a valid date in the YAML front matter.
             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Invalid date '2025-05-015:24 PM': Document '_posts/2025/05/2025-05-01-BondiSaves75PctAmericansFentanylDeaths.md' does not have a valid date in the YAML front matter.
Error: Process completed with exit code 1.

Originally posted by @RalphHightower in #1747 (comment)

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions