jiffy icon indicating copy to clipboard operation
jiffy copied to clipboard

Added RelativeDateTime class overrides related to Locale

Open JosephNK opened this issue 2 months ago • 0 comments

What does this PR do?

Purpose of overriding RelativeDateTime Class and modifying text.

Issue Reference

None

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Maintenance change (non-breaking change such as upgrading a dependency, refactoring, or making a lint fix)
  • [ ] Documentation update
  • [ ] Breaking change (a fix or feature that would cause existing functionality to change)

Screenshots

None

Checklist

  • [x] Wrote additional tests, if needed
  • [x] All tests have passed, you can find the scripts from the ./bin folder
  • [ ] I have updated the documentation accordingly, if needed.

Additional Information

An appropriate section could not be found to override and use the RelativeDateTime Class of the defined Support Locale Class. So we created the ensureInitialized function. If there is a better way, I hope it improves.

JosephNK avatar May 27 '24 11:05 JosephNK