jiacai2050 / history-master

📈📉📊A Firefox/Chrome extension to visualize browsing history, sync among different browsers!
415 stars 43 forks source link

Confusion in search date range #49

Open herrbrixter opened 5 years ago

herrbrixter commented 5 years ago

First of all, thanks for this add-on. I really like it!

As a new user, I was confused with the date filtering. I did not know that it defaults to midnight for the time portion of the date.

For example: Date range is Aug 5 to Aug 5 Expected: Get history from Aug 5 00:00 to Aug 6 00:00. Basically, the history for the day of Aug 5. Observed: Get history between Aug 5 00:00 to Aug 5 00:00. Which is zero.

I think other websites do this date filtering logic. When you book a flight, in the date range of Aug 5 to Aug 6, the result will be flights between Aug 5 00:00 to Aug 6 23:59 and not Aug 5 00 to Aug 6 00:00.

My suggestions are: Option 1: For the end date, treat it as the end of that day. In my example, it would be Aug 5 23:59:59 Option 2: Add time portion in the search criteria so it is clear that Aug 5 to Aug 5 actually means Aug 5 00:00 to Aug 5 00:00 so the user can search appropriately.