Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Billy Lanchantin <[email protected]>
  • Loading branch information
jgarber623-cargosense and billylanchantin authored Jun 14, 2024
1 parent 1afa69d commit c9e38f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CompareChain provides convenience macros for comparisons like:

## Background

Say you have an interval of time bounded by two `%Date{}` structs, `start_date` and `end_date`, and want to know whether or not a third `date` falls within that interval. How would you write this in Elixir?
Say you have an interval of time bounded by two `%Date{}` structs, `start_date` and `end_date`, and you want to know whether or not a third `date` falls within that interval. How would you write this in Elixir?

```elixir
Date.compare(start_date, date) == :lt and
Expand Down

0 comments on commit c9e38f5

Please sign in to comment.