Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix redundant dates showing on Label tab
using isoDatesDifference here (which wraps Luxon's diff) yields decimal values when a full datetime string is provided. If on the same day we are expecting the diff to be 0 (falsy) but get 0.2 or similar (truthy) All we actually need here is to know if the start and end fall on different dates, so we can simply take the YYYY-MM-DD part of the strings and test for string equality KISS
- Loading branch information