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

Add option to return prior dates if ambiguous #35

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Apr 17, 2023

  1. test: add failing tests for future dd/mm rules

    If no year is specified, then nil is returned for:
    
    - current date July 15 in test
    - future months
    mvgrimes committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    b996c34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f732bc8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e7a1a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c7ad40 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    381e608 View commit details
    Browse the repository at this point in the history
  6. refactor: simplifies Slash* testing

    The OFFSET based tests probably make it easier for things like
    "yesterday at 10am", but for DMY or MDY it is much simpler to compare it
    to a time.Time.
    mvgrimes committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    014f21b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c29363 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    26c5547 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cc470d4 View commit details
    Browse the repository at this point in the history