Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A a11yproject.com
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The A11Y Project
  • a11yproject.com
  • Merge requests
  • !1246

Simplify date conversions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged EJ Mason requested to merge github/fork/mxmason/feat/simplify-date-conversions into main Apr 22, 2021
  • Overview 2
  • Commits 4
  • Pipelines 0
  • Changes 4

This PR removes the moment and Luxon dependencies, as Node now has better date powers by way of Intl.dateTimeFormat.

Handling the post dates with native code causes an error if date values are not provided. My change to post.njk adds a check to make sure last_updated exists.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/mxmason/feat/simplify-date-conversions