question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LocaleUtils in not a value, causing types to be broken

See original GitHub issue

In this pr: https://github.com/gpbl/react-day-picker/pull/873 LocaleUtils was changed from value to type (interface), i’m not sure if it’s intended, but in the latest version v.7.4.0 types are broken, cause there are a lot of typeof LocaleUtils which expects value, not the type.

P.S. consider adding tests for types

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:28
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
tpetrinacommented, Nov 5, 2019

Downgrade to 7.3.2 and it should work.

4reactions
madebyewcommented, Oct 22, 2019

This is an issue for me, too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

i18n-util/LocaleUtils.java at master - GitHub
A set of open source utilities for internationalization, in particular LinguisticSort for a similar sorting and collation experience between Java and the DB ......
Read more >
LocaleUtils (Apache Commons Lang 3.12.0 API)
This class tries to handle null input gracefully. An exception will not be thrown for a null input. Each method documents its behavior...
Read more >
How to get Locale from its String representation in Java?
Method that returns locale from string exists in commons-lang library: LocaleUtils.toLocale(localeAsString).
Read more >
java/util/Locale.java - platform/prebuilts/fullsdk/sources ...
LocaleUtils ; ... these) cause a constructor to generate an extension, all other values behave ... This continues to be the case, in...
Read more >
Java Examples for org.apache.commons.lang3.LocaleUtils
This java examples will help you to understand the usage of org.apache.commons.lang3.LocaleUtils. These source code samples are taken from different open ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found