Skip to content

GitLens dates use system locale instead of vscode language setting #1859

@ImRodry

Description

@ImRodry
  • GitLens Version: 12.0.0
  • Git Version: 2.35.1.windows.2
  • VSCode Version: 1.64.2 f80445acd5a3dadef24aa209168452a3d97cc326 x64
  • OS Version: Windows 11 version 21H1 OS build 22000.527

Steps to Reproduce:

  1. Set your system date locale to something different from your vscode language. On Windows you can do this by going to the Control Panel - Clock and Region - Region - Format and pick a country from the ones in the dropdown
  2. Enable a setting that shows when something happened (using the $ago variable). I'll be using "Current line blame" for this example
  3. Go to a line of code in your git project and observe the language the $ago variable is using:
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions