Damus
Baldur Bjarnason profile picture
Baldur Bjarnason
@Baldur Bjarnason
That feeling the UI sets a date range exclusive of the end day but you always think of date ranges as inclusive, only to realise at the last minute that you need to add a day to get the actual range you want
1
Loren Kohnfelder · 29w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq6u7alxzkjugh6535altqqk5gx7g0a63x6m300l898nenys0rsjuqz43src Wow, that's such a coder thing; you can imagine the for loop: for (day = firstdate; day < lastdate; day++) ... basically like starting a numbered list at 0 to match array indexing.