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.

parseDate and formatDate are not exposed in V3 when using require

See original GitHub issue

In the documentation it says that parseDate and formatDate are exposed, but since v3 Flackpickr is initialised through a helper function, and therefor these methods are not reachable when using var flatpickr = require('flatpickr').

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
chmlncommented, Aug 1, 2017

Hi all,

Thanks for the notice. I’ll have these methods restored by v3.0.7 very soon.

1reaction
LorenzoS92commented, Jul 29, 2017

Bram-I is the same issue that you have reported, for us we need to access in those two methods.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Format date in a specific timezone - javascript - Stack Overflow
Something related to this, I want to print time in a specific format, e.g 15 March, 2018 but cant find the format string...
Read more >
Parse and Format Date Function Calls | Mendix Documentation
Describes the functions for parsing Date and time values from strings using a specified pattern or producing a string from a Date and...
Read more >
PARSEDATE and FORMATDATE Functions - Salesforce Help
Use the PARSEDATE function to convert a custom date or a date appearing as a string to the standard date format. For example,...
Read more >
Docs - Moment.js
The current specification defines parsing a variation of ISO 8601 strings, where date-only forms (like "2020-09-14" ) are parsed as UTC, instead of...
Read more >
Intl.DateTimeFormat - JavaScript - MDN Web Docs
Chrome Edge DateTimeFormat Full support. Chrome24. Toggle history Full support. Edge12... DateTimeFormat() constructor Full support. Chrome24. Toggle history Full support. Edge12... locales parameter Full support. Chrome24....
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