Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

The date in URL path to blog post is off #97

@zemian

Description

@zemian

Bug report

Steps to reproduce

When using theme-blog:

  1. Create a post filename: 2020-08-07-date-demo.md
# Date Test 

Just a test.
  1. View the post with vuepress dev blog

What is expected?

The URL to the post should be http://localhost:8080/2020/08/07/date-demo/

What is actually happening?

The URL to the post is http://localhost:8080/2020/08/06/date-demo/ instead (noticed the date is one day off)

Other relevant information

NOTE: I am in EST timezone. Not sure if that's important of not.

  • Output of npx vuepress info in my VuePress project:
Environment Info:

  System:
    OS: macOS 10.15.6
    CPU: (4) x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
  Binaries:
    Node: 14.5.0 - /usr/local/bin/node
    Yarn: 1.19.2 - ~/.yarn/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
  Browsers:
    Chrome: 84.0.4147.105
    Edge: Not Found
    Firefox: 79.0
    Safari: 13.1.2
  npmPackages:
    @vuepress/core:  1.5.2 
    @vuepress/theme-default:  1.5.2 
    vuepress: ^1.5 => 1.5.2 
  npmGlobalPackages:
    vuepress: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions