mathoudebine / mathoudebine/turing-smart-screen-python
Custom date/time format
Nobody has claimed this yet.
- Dominant language
- Rich Text Format
- Stars
- 2.3k
- Forks
- 412
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 7
Description
Discussed in https://github.com/mathoudebine/turing-smart-screen-python/discussions/96
Originally posted by trebor-56 December 4, 2022
Any chance of a date option dd-mm-yy
Is your feature request related to a problem? If so, please describe the problem.
Date/time format is hardcoded
Describe the feature / solution to your problem you'd like
Have custom date/time format
Note: the default format used for date/time should use the current locale:
%x for date: Preferred date representation based on locale, without the time
%X for time: Preferred time representation based on locale, without the date
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
The issue does not name a file, test, or entry point. Start by locating the hardcoded date/time formatting in the Python display code, then determine where custom formats can be configured and how locale-based defaults should behave. Done means date and time formats are configurable while the defaults use the current locale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100