mathoudebine / mathoudebine/turing-smart-screen-python

Custom date/time format

Open
#99 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.