Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Datetime format customization #18

Open
alessandroargentieri opened this issue Apr 22, 2021 · 3 comments
Open

Enable Datetime format customization #18

alessandroargentieri opened this issue Apr 22, 2021 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers type/feature Feature

Comments

@alessandroargentieri
Copy link
Member

User Story

As an operator, I would like to get a DateTime formatted according to my needs.

Detailed Description

Maintain the present formatting as default and allow user customization in order to vary the format, consider the timezone too.

@alessandroargentieri alessandroargentieri added enhancement New feature or request good first issue Good for newcomers type/feature Feature labels Apr 22, 2021
@abhissng
Copy link

Hey @alessandroargentieri . I would like to work on this feature

@alessandroargentieri
Copy link
Member Author

Hi @abhissng sure.. please provide some tests to let the code coverage remain very high and some example of results (either with screenshots).. thanks for contributing!

@abhissng
Copy link

Hi @alessandroargentieri i am creating a Pull request for you to review the changes. However i am unable to write the tests for the getTime() as with every new time.Now(), the expected and test result mismatched.

I am attaching Screenshot for your reference. I have used the timeZone as "Asia/Kolkata" for now

Screenshot 2022-10-27 at 21 34 49

abhissng added a commit to abhissng/noodlog that referenced this issue Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers type/feature Feature
Projects
None yet
Development

No branches or pull requests

2 participants