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

Support parsing DD/MM #18

Closed
keikhcheung opened this issue Feb 3, 2021 · 2 comments · Fixed by #32
Closed

Support parsing DD/MM #18

keikhcheung opened this issue Feb 3, 2021 · 2 comments · Fixed by #32
Labels
enhancement New feature or request help wanted Accepting PRs for this feature requests

Comments

@keikhcheung
Copy link

Dates like 4/5 get parsed as 5 April instead of 4 May.
It would be great to have an option in the settings for locale/format preference.

@argenos argenos added the enhancement New feature or request label Feb 3, 2021
@argenos
Copy link
Owner

argenos commented Feb 20, 2021

I am not sure this is possible without changing the parser itself, see my comments in #19, especially this:

for parsing dates, the package I'm using has limited support for parsing other languages

Instead of using 4/5, I'd recommend using the shorthand version Apr5.

@argenos argenos added the help wanted Accepting PRs for this feature requests label Feb 20, 2021
@argenos argenos linked a pull request Apr 30, 2021 that will close this issue
@liamcain
Copy link
Collaborator

Note: NLDates will now follow use the same locale as Obsidian. If you need to explcitly override your locale, a few plugins give you that option. The Calendar plugin, for example, let's you specify the locale globally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Accepting PRs for this feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants