-
Notifications
You must be signed in to change notification settings - Fork 4
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
Epitech header's dates are dependent on locale #8
Comments
You can change your editor's locale, |
Sorry for the long delay to answer. Yes it worked perfectly. But I'm also thinking of other people who would like to keep their language settings set to default and output english date text only for the Epitech header. Isn't there a way to only output the time in English in the plugin files and to be able to keep one's current locale outside the plugin? |
Should be fixed with dc09994. If no en_US locale is present on the system it should fallback to @juliencampion does it fix it? |
It worked only when I replaced 'en_US' in header.vim with 'en_US.utf-8'. I removed the en_US locale and tried again but the script told me 'Could not choose language: en_US.utf-8'. |
What do you get with |
"fr_FR.UTF-8" |
Oh by the way 'en_US' is still not replaced with 'en_US.utf-8' in header.vim. |
Here's how my Epitech header (created with vim-epitech) looks:
Notice how the creation and modification dates on my header are in French, because my system locale is in French. Or, as I understand it Epitech's C header should look exactly like the Emacs one, where the dates are in English.
Is there any way for me to output the date in the correct format without having to change my system locale to do so?
The text was updated successfully, but these errors were encountered: