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

Feature/TR-1207/Add locale format for DateTime in UTC #106

Merged

Conversation

jsconan
Copy link
Contributor

@jsconan jsconan commented May 20, 2021

Related to: https://oat-sa.atlassian.net/browse/TR-1207

Add a variant for the helper formatDateTime() to also support timestamp in UTC.

By default, the helper will continue assuming the supplied timestamp is in the user's timezone. However, the second parameter of the helper allows qualifying the timestamp as being in UTC instead.

How to test:

  • run the unit tests
  • check the companion PR for complete testing

@jsconan jsconan requested review from btamas, lecosson and marpesia May 20, 2021 12:40
Copy link
Contributor

@btamas btamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, behavior was checked in related PR.

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

Copy link

@marpesia marpesia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, good job!

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

@jsconan jsconan merged commit 881cb12 into develop Jun 3, 2021
@jsconan jsconan deleted the feature/TR-1207/support-locale-format-datetime-in-utc branch June 3, 2021 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants