Skip to content

Commit

Permalink
Locale debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinugu committed Oct 31, 2023
1 parent 61e207b commit 8ccd6ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/omnipy/util/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def remove_none_vals(**kwargs: object) -> Dict[object, object]:


def get_datetime_format(locale: Optional[LocaleType] = None) -> str:
print(f'Setting locale to "{locale}"...')
pkg_locale.setlocale(pkg_locale.LC_ALL, locale)

if hasattr(pkg_locale, 'nl_langinfo'): # noqa
Expand Down

0 comments on commit 8ccd6ba

Please sign in to comment.