Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] modify file naming convention by month + day (ISO 8601) #12

Open
jhnemogap opened this issue Mar 21, 2020 · 0 comments
Open

[ISSUE] modify file naming convention by month + day (ISO 8601) #12

jhnemogap opened this issue Mar 21, 2020 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@jhnemogap
Copy link

jhnemogap commented Mar 21, 2020

Context

If we want to find a file in name order, it is a good idea to use the ISO 8601 convention to name files when the start is a date (partial or full).

Process

In the readme.md is written

  1. Use the follow convention: day+month-slug = 0903-hello-world.md

This causes that when ordering the files there is no coincidence with the creation date, even when these have numbers.

  • 1501 -> Enero 15
  • 0702 -> Febrero 7
  • 1502 -> Febrero 15
  • 0108 -> Agosto 1
  • 1508 -> Agosto 15

Expected result

This form is better than the previous one:
2. Use the follow convention: month+day-slug = 0309-hello-world.md

  • 0115 -> Enero 15
  • 0207 -> Febrero 7
  • 0215 -> Febrero 15
  • 0801 -> Agosto 1
  • 0815 -> Agosto 15

Possible Fix

Change positions of numbers representing day + month by month + day

@jhnemogap jhnemogap added the good first issue Good for newcomers label Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants