lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
990 stars 94 forks source link

Duplicate hash for different imported appointments #481

Open sebapusch opened 7 months ago

sebapusch commented 7 months ago

Version information. 4.8.1

Bug description. When importing .ics file (calcurse -i /path/to/file.ics) different entries share the same hash, for example:

06/14/2024 @ 15:00 -> 06/14/2024 @ 17:00>dd428b97c3fbd9c3ffb92d563541d329047e32cd |Cognitive Psychology - resit digital re-examination
06/27/2024 @ 08:30 -> 06/27/2024 @ 10:30>dd428b97c3fbd9c3ffb92d563541d329047e32cd |General Linguistics - resit re-examination

Therefore they also share the same note.

Reproduce.

  1. Download this file

  2. import with calcurse -i /path/to/file

  3. cat ~/.calcurse/apts | grep dd428b97c3fbd9c3ffb92d563541d329047e32cd

Expected Behavior. The imported appointments should have distinct hash.