activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Date "Clear" results in internal error

Open Subtixx opened this issue 1 year ago • 2 comments

  • [x] I am on the latest ActivityWatch version.
  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • OS name and version: Windows 11 Pro 22H2
  • ActivityWatch version: v0.12.2

Describe the bug

Pressing clear in chrome the date picker the server throws internal server errors.

To Reproduce

  1. Open Dashboard
  2. Select Date Range
  3. Click "Clear"

Expected behavior

  • Nothing

Documentation

image image

Additional context

Subtixx avatar Feb 05 '24 22:02 Subtixx

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

github-actions[bot] avatar Feb 05 '24 22:02 github-actions[bot]

Good observation :) It happens because the date in the URL is changed to Invalid date (at least in Firefox). For example: http://localhost:5600/#/activity/BelKed/day/Invalid date/view/summary

BelKed avatar Feb 06 '24 08:02 BelKed