pajoma / vscode-journal

Lightweight journal and simple notes support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pajoma.vscode-journal
GNU General Public License v3.0
233 stars 40 forks source link

Garbling in edited templates with locale setting #36

Closed mikutas closed 6 years ago

mikutas commented 6 years ago

Info

Issue Details

Even though user locale is set, the extension always recognizes 'en-US' locale. Therefore, if using edited template which depends on particular locale setting, garbling occurs.

Expected Behavior

(Getting locale normally, and) No garbling occurs.

Custom Settings

    "journal.locale": "ja-JP",
    "journal.tpl-entry": "# dddd, MMMM Do YYYY[年]\n\n",

Kanji needs ja-JP locale setting.

pajoma commented 6 years ago

Thanks for correcting this!

mikutas commented 6 years ago

I'm glad to make a bit of contribution to your helpful extension. Thanks too.