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

feat: Feature/science locale #1001

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SgtApone117
Copy link

fixes #899

  • added locale to science module
  • made changes to unit test to handle param
  • Currently only has en-us as default.

@@ -98,5 +98,5 @@ FAKER_CXX_EXPORT Unit tempUnit();
* current.
* @endcode
*/
FAKER_CXX_EXPORT Unit currentUnit();
FAKER_CXX_EXPORT Unit currentUnit(Locale locale = Locale::en_US);
Copy link
Owner

Choose a reason for hiding this comment

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

please add doxygen comments aboout new param

@cieslarmichal
Copy link
Owner

and format code with clang format

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.

add locale to science module
2 participants