apache / apache/ponymail

cluster generator should not parse the date field

Open
#405 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
80
Forks
32
PR merge metrics
No merged PRs in 30d

Description

There's no point parsing the Date field before using it as part of the hash in the 'cluster' generator.

Two messages with different Date fields are not the same message, even if the converted dates are the same. Parsing/conversion hides such differences, as well as being unnecessary work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the cluster generator and trace how the Date field is handled before contributing to the message hash. Verify the behavior with messages whose raw Date fields differ but convert to the same date; done means those differences remain distinguishable without unnecessary date parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.