Virtual-environments: Different browsers have different locale in the same OS

Created on 24 Mar 2020  路  3Comments  路  Source: actions/virtual-environments

Describe the bug

Some browsers installed in the same OS returns different locale, e.g. en-US on Chrome but en-GB on Firefox.

Area for Triage:

Question, Bug, or Feature?:

Virtual environments affected

  • [ ] macOS 10.15
  • [ ] Ubuntu 16.04 LTS
  • [x] Ubuntu 18.04 LTS
  • [ ] Windows Server 2016 R2
  • [ ] Windows Server 2019

Expected behavior

en-US for all browsers on the same OS (same machine?)

Actual behavior

  1. Run the following JavaScript snippet to return locale information in different browsers in the affected virtual env:

    console.log(Intl.DateTimeFormat().resolvedOptions());
    
    // Chrome returns 'en-US' while Firefox returns 'en-GB'
    
Ubuntu awaiting-deployment bug

Most helpful comment

Hello, pull request with changing locale for firefox was merged and changes would be delivered in next images rollout.

All 3 comments

Hello, pull request with changing locale for firefox was merged and changes would be delivered in next images rollout.

@dmitry-shibanov Thank you.

Hello, changes were added. If you have any concerns feel free to reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zackijack picture zackijack  路  3Comments

Tnze picture Tnze  路  4Comments

mcooley picture mcooley  路  3Comments

ethomson picture ethomson  路  4Comments

shogo82148 picture shogo82148  路  3Comments