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

Problems when datetimes contain . #109

Open
sigurdga opened this issue Apr 23, 2021 · 2 comments
Open

Problems when datetimes contain . #109

sigurdga opened this issue Apr 23, 2021 · 2 comments

Comments

@sigurdga
Copy link

I'm not sure what's going on, but when date are automatically created, I always end up with unix epoch: [1969-12-31 on. 23:00]. Adjusting the date manually or by using ctrl-a, and then pressing <C-C><C-C> resets any date to [1969-12-31 on. 23:00]. The short version of weekday is shortened with a dot, and I suspect that to be the problem.

Everything works as expected with LANG=C, but not with LANG=nb_NO.UTF-8 or LANG=nn_NO.UTF-8. The neighboring LANG=sv_SE.UTF-8 (which does not use . works fine).

(BTW, this is on standard neovim 0.4.4 from ubuntu 2020.10 and vim-dotoo via Plug.)

@dhruvasagar
Copy link
Owner

Looks like a weird locale issue, i'll try to replicate this and see if I can work around it.

@sigurdga
Copy link
Author

Thanks for looking into it. I tested some more locales and saw problems with non-ascii three letters daynames, so it's not only the dots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants