Skip to content

Conversation

@jf
Copy link

@jf jf commented Nov 15, 2024

Addresses #44

I considered a couple of approaches, ranging from adding the current time (and then with a +1 second; good grief! just in order to be able to bump it up at the nanosecond-level to just past 24 hours) to then-dt using atTime, to maybe doing something with the cond if passed in a date; but ultimately settled on this one as the most elegant.

A couple of notes:

  • I must apologize for not adding in tests for this just yet; I can take a look at this in time to come (but would also be fine getting help for this) DONE
  • I decided to make (datetime (java.time.LocalDate/now)) equal "today" (rather than "a moment ago"); I think that makes sense

we do this by simply "coercing" the :now-dt argument to be ~at midnight
as well~ when then-dt is a java.time.LocalDate
@jf jf requested a review from hlship as a code owner November 15, 2024 23:06
@hlship hlship added this to the 1.2 milestone Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants