Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Date format of posts and pages is different #98

@CHH

Description

@CHH

The format of a content type with isPost: true follows ISO8601. The date that was determined by the file's ctime, when the content type is not a post, doesn't follow the same format, but dd-mm-YYYY instead.

Relevant line:

cached.date = dateFns.format(stats.ctime, 'MM-DD-YYYY')

Is this by design, or a bug?

This bug report is available on Nuxt.js community (#c84)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions