Support comparison of complex timestamps
- Dominant language
- Java
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Extend the simple comparison of timestamps as bare integer values (e.g., "20210201112034") to more complex strings (e.g., "1.0.3b").
Consider adopting the logic of `--compare-versions` in the `dpkg` command (Debian package manager):
https://www.man7.org/linux/man-pages/man1/dpkg.1.html
Perl implementation of the algorithm for reference:
https://st.aticpan.org/source/GUILLEM/Dpkg-1.20.7/lib/Dpkg/Version.pm
https://metacpan.org/release/Dpkg
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing comparison of bare integer timestamp strings. Review dpkg's --compare-versions behavior and the referenced Perl Dpkg::Version implementation, then verify that complex values such as "1.0.3b" compare correctly alongside values such as "20210201112034".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100