PSCalendar icon indicating copy to clipboard operation
PSCalendar copied to clipboard

[Bug]: Alignment fails with some Asian cultures

Open jdhitsolutions opened this issue 3 years ago • 2 comments

Describe the problem

When running under some Asian cultures the display does not align.

image

Expectation

Calendar days should align.

Additional Information

No response

PowerShell version

7.2

Platform

Windows 11 Pro or Enterprise

Additional Checks

  • [X] You are using the latest version of this module.
  • [X] You have read this repository's README file.
  • [X] You have read full help and examples for the command you are having problems with.
  • [X] You are running PowerShell in an elevated session.
  • [X] You are running in a traditional PowerShell console or Windows Terminal

jdhitsolutions avatar Mar 03 '22 14:03 jdhitsolutions

I will allow myself to comment on this issue. I am afraid it is impossible or will take disparate efforts. Short day name length can vary across week. True day name length does not correspond to visual length. It is so complicated that I dont see the way to solve the task. I spent so much time to struggle with asian cultures that I dont see the light on this question.

scriptingstudio avatar Mar 10 '22 17:03 scriptingstudio

I would agree with that assessment. I haven't had anyone report this as a problem so I'm probably worrying over nothing.

jdhitsolutions avatar Mar 10 '22 18:03 jdhitsolutions

Closing and tagging as Won't fix. I have no way of truly testing this, and I each Asian culture will require a different setting. If this is an issue for a user running under an Asian culture, my recommendation is that they fork this project and modify the code to meet their cultural settings.

jdhitsolutions avatar Dec 19 '22 15:12 jdhitsolutions