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.

Changing the `config.locale` option doesn't update the locale used

See original GitHub issue

I’m submitting a …

[x] Bug report => search github for a similar issue or PR before submitting
[ ] Feature request
[ ] Other, please describe

Tell about your platform

  • flatPickr version : 4.4.4
  • Vue.js version : 2.5.16
  • This package version : 7.0.1

Current behavior Changing the config.locale option doesn’t update the locale used in the config watcher.

I have got it to work with adding the following after this.fp.set(safeConfig):

this.fp.l10n = safeConfig.locale
this.fp.redraw()

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ankurk91commented, May 5, 2018

Fixed in v7.0.2

1reaction
ankurk91commented, Apr 25, 2018

Ok, i will check.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix my locale issue? - Ask Ubuntu
First run locale to list what locales currently defined for the current user account: $ locale LANG=C LANGUAGE= LC_CTYPE=fi_FI.
Read more >
How to Change or Set System Locales in Linux - Tecmint
If you want to change or set system local, use the update-locale program. The LANG variable allows you to set the locale for...
Read more >
raspi-config doesn't set locale - Raspberry Pi Forums
When I try to set the locale using raspi-config I it doesn't seem to work and messes up my keyboard mapping. Here's what...
Read more >
Locale - ArchWiki
Setting the locale. To display the currently set locale and its related environmental settings, type: $ locale. The locale to be used, ...
Read more >
How to install/change locale on Debian? - Server Fault
Setting and generating (new) locales ... Locales are typically set by uncommenting lines in /etc/locale.gen , after which running locale-gen is ...
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