bp / bp/ResSimpy

Add a method to DateFormat enum to give a dateformat that works directly with datetime library

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
23
Forks
8
Avg merge
16d 4h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
Need to have a quick input to the datetime string

Would like to have
```
date_enum = DateFormatEnum.DD_MM_YYYY
date_enum.string_format = "%d/%m/%Y"
```

Contributor guide

Open the contributing guide

Research direction

Locate DateFormatEnum and its existing date-format members, then inspect how datetime strings are currently handled. Confirm the intended interface for DD_MM_YYYY and verify that the enum value provides a format usable directly with the datetime library. Done means the requested format works without manual setup and is covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.