You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I generate a roadmap with some example code and compare it to the example pictures, my roadmap looks different. It could either be because of the OS (I use Linux, especially Ubuntu with a Gnome desktop) or because of slightly different locale settings.
The most significant difference is the spelling of the abbreviations of the month. In the example, the months start with a capital letter (e.g. Jan and Feb). The months in my generated roadmap, however, do not start with a capital letter (e.g. jan and feb).
Besides the spelling differences, you can see different spaces between the letters which are probably due to a different standard font.
Is it possible to make the behaviours of the generation more similar on the different platforms, i.e. Mac, Linux and Windows? Which differences should we accept? Maybe this goes hand in hand with #20.
I am using strftime("%b") to get the month. The behaviour of strftime("%b") can vary between platforms and locales because it depends on the underlying C library implementation and the system's locale settings. In some systems, the abbreviated month names might be capitalized (e.g., "Jan, Feb, Mar"), while in others, they might be in lowercase (e.g., "jan, feb, mar").
I can of course capitalise or lowercase it, but that is too many variations to handle if you factor in non-english characters. I will leave it as it is now.
This is fine. Then, we'll just have to take this into account when designing our E2E tests and running them in CI. Basically, we expect different generated roadmap images on different platforms.
When I generate a roadmap with some example code and compare it to the example pictures, my roadmap looks different. It could either be because of the OS (I use Linux, especially Ubuntu with a Gnome desktop) or because of slightly different
locale
settings.The most significant difference is the spelling of the abbreviations of the month. In the example, the months start with a capital letter (e.g.
Jan
andFeb
). The months in my generated roadmap, however, do not start with a capital letter (e.g.jan
andfeb
).Besides the spelling differences, you can see different spaces between the letters which are probably due to a different standard font.
Is it possible to make the behaviours of the generation more similar on the different platforms, i.e. Mac, Linux and Windows? Which differences should we accept? Maybe this goes hand in hand with #20.
Edit:
The text was updated successfully, but these errors were encountered: