get rid of config variables `datetimeformat` and `longdatetimeformat`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
We should be able to concatenate date (longdate) with time, or is there any country where one would usually use another notation for dates and times than for datetimes?
This would a) simplify configuration and b) some internals could become cleaner (at least less code).
Example:
configured:
timeformat: %H:%M
dateformat: %d.%m.
longdateformat: %d.%m.%Y
infered:
datetimeformat (dateformat + timeformat): %d.%m. %H:%M
longdatetimeformat (dateformat + timeformat): %d.%m.%Y %H:%M
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where the datetimeformat and longdatetimeformat configuration variables are read and where date, longdate, and time formats are combined. Confirm the inferred formats against existing configuration and formatting behavior, then verify that the separate datetime variables are no longer needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100