matthewmueller / matthewmueller/date

Fun change - support overmorrow and ereyesterday!

Open
#24 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.5k
Forks
85
PR merge metrics
No merged PRs in 30d

Description

This is not an issue or bug, but it might be fun to support the (sadly) no longer used English words "overmorrow" (the day after tomorrow) and "ereyesterday" (the day before yesterday).

Other languages have words for this, e.g. übermorgen and vorgestern in German, so it might be useful (especially if you add multilanguage support in the future?)

They can also be used to mean things like "the day after the day after tomorrow" : overovermorrow and "the day before the day before yesterday" : ereereyesterday.

As I said, more for a bit of fun rather than an issue with this very useful library!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First locate where natural-language date terms are parsed and how date expressions are tested. Done means the requested words, including repeated forms such as overovermorrow and ereereyesterday, are recognized with the stated meanings.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.