Skip to content

Front Matter: inconsistent date property #2097

Closed
@Hill-98

Description

@Hill-98
  • I confirm that this is an issue rather than a question.

Bug report

1.png
2.png

As shown, if a two-digit date, $frontmatter.date have different performance behaviors.

This problem affects how the subject developer handles time

Steps to reproduce

https://github.com/Hill-98/vuepress-frontmatter-test

What is expected?

Same $frontmatter.date

What is actually happening?

Different $frontmatter.date

Other relevant information

NodeJS: 13.5.0

Browser: Chrome Canary 81

VuePress: 1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions