Author Topic: Switch to abbreviations in date strings  (Read 3328 times)

0 Members and 1 Guest are viewing this topic.

Offline DeMatt (OP)

  • Warrant Officer, Class 2
  • ****
  • D
  • Posts: 50
  • Thanked: 17 times
Switch to abbreviations in date strings
« on: April 27, 2020, 04:36:56 AM »
All these ellipses annoy me:

Can you please change the format of date strings in these tables to, say, "Mon, Dec 04, 2030"?  Instead of having them be too long for the column and becoming cut off?
 
The following users thanked this post: Ruisert

Offline Zhatelier

  • Chief Petty Officer
  • ***
  • Posts: 46
  • Thanked: 19 times
Re: Switch to abbreviations in date strings
« Reply #1 on: April 27, 2020, 04:43:25 AM »
That is due to your Windows settings, set your long date format to not include the weekday and it'll show fine.
 

Offline DeMatt (OP)

  • Warrant Officer, Class 2
  • ****
  • D
  • Posts: 50
  • Thanked: 17 times
Re: Switch to abbreviations in date strings
« Reply #2 on: April 27, 2020, 09:08:07 AM »
That is due to your Windows settings, set your long date format to not include the weekday and it'll show fine.
That... does not make sense.  The game does not select its font based on what version of Windows I'm running, it does not let me set the width of the column, so why should it be formatting the (ingame, not real) date based on my system preferences?
 

Offline skoormit

  • Rear Admiral
  • **********
  • Posts: 816
  • Thanked: 328 times
Re: Switch to abbreviations in date strings
« Reply #3 on: April 27, 2020, 09:10:03 AM »
That is due to your Windows settings, set your long date format to not include the weekday and it'll show fine.
That... does not make sense.  The game does not select its font based on what version of Windows I'm running, it does not let me set the width of the column, so why should it be formatting the (ingame, not real) date based on my system preferences?

You are entirely correct, it does not make sense.
But it is true.
 
The following users thanked this post: Alsadius

Offline alex_brunius

  • Vice Admiral
  • **********
  • Posts: 1240
  • Thanked: 153 times
Re: Switch to abbreviations in date strings
« Reply #4 on: April 27, 2020, 10:29:09 AM »
It's in the known issues in the C# Bug Reports forum:
http://aurora2.pentarch.org/index.php?topic=10637.0

  • "Aurora is a hobby project coded for use on a UK computer. Therefore, you will need to change your decimal separator to a period, rather than a comma, for optimum performance. Otherwise you will suffer invalid string errors."
  • "Date formats. Some users see the day of the week in displayed dates, which means there is not enough room. This can be fixed in by changing Windows date to shorter format in settings."

Basically I would consider this a quirk of the game being available for free :)
 

Offline Garfunkel

  • Registered
  • Admiral of the Fleet
  • ***********
  • Posts: 2797
  • Thanked: 1055 times
Re: Switch to abbreviations in date strings
« Reply #5 on: April 28, 2020, 08:58:40 PM »
What I find hilarious is that DeMatt went to the trouble of making an animated GIF to illustrate the problem but did not check the Known Issues thread nor the twenty dozen other threads talking about this issue and how to fix it.

No offence mate, just that this illustrates perfectly why Steve was and is concerned about bug reports coming from modded games. There are people constantly reporting non-existing bugs because they don't know how the game works and don't bother searching the forum for an answer OR because they insist on not changing Localisation settings despite it being advised, again, on multiple different threads. Now imagine this chaos quadrupled with folks posting about how their mod-playable Star Swarm cannot use mod-introduced Hyper Engines and so on.
 
The following users thanked this post: Pedroig

Offline wedgebert

  • Ace Wiki Contributor
  • Warrant Officer, Class 1
  • ****
  • w
  • Posts: 87
  • Thanked: 33 times
Re: Switch to abbreviations in date strings
« Reply #6 on: May 01, 2020, 06:09:44 PM »
This is easily fixed though. All the UI formatting (date strings, period for number separators, etc) are controlled the locale .NET is using. By default it uses whatever the current user has set for their computer. However it can be set via code to override that use and a fixed locale, such as EN-GB.

 

Offline Father Tim

  • Vice Admiral
  • **********
  • Posts: 2162
  • Thanked: 531 times
Re: Switch to abbreviations in date strings
« Reply #7 on: May 02, 2020, 06:47:01 AM »
This is easily fixed though. All the UI formatting (date strings, period for number separators, etc) are controlled the locale .NET is using. By default it uses whatever the current user has set for their computer. However it can be set via code to override that use and a fixed locale, such as EN-GB.


It can, but that also forces the decimal separator to be a period and the 'money' symbol to be £.  Personally, I'm in favour of that but Steve's nicer than I am and wanted "the other half" to be able to use the comma.  I'm sure he now thoroughly regrets that choice.
 

Offline SaberSnail

  • Leading Rate
  • *
  • Posts: 7
  • Thanked: 4 times
Re: Switch to abbreviations in date strings
« Reply #8 on: May 03, 2020, 01:37:51 PM »
Quote from: wedgebert link=topic=11113. msg129798#msg129798 date=1588374584
This is easily fixed though.  All the UI formatting (date strings, period for number separators, etc) are controlled the locale . NET is using.  By default it uses whatever the current user has set for their computer.  However it can be set via code to override that use and a fixed locale, such as EN-GB.

Not only is the date easily fixed, but Steve is already doing exactly this on the Shipyards screen down at the bottom in the Create Task area where the Completion Date is listed in green.  I would just love it if the game consistently forced the formatting in the other places as well.
 

Offline SaberSnail

  • Leading Rate
  • *
  • Posts: 7
  • Thanked: 4 times
Re: Switch to abbreviations in date strings
« Reply #9 on: May 03, 2020, 02:26:36 PM »
The script here might make it less painful to switch formatting settings before and after running the game: hxxp: aurora2. pentarch. org/index. php?topic=11237. 0
 

Offline Ruisert

  • Able Ordinary Rate
  • R
  • Posts: 2
Re: Switch to abbreviations in date strings
« Reply #10 on: May 12, 2020, 01:06:47 PM »
I just started a new game and noticed this same problem.  And posted about it in another section.  Baffles me why this shouldn't be hard coded in the game instead of requiring a user to find and change a computer setting that may have system-wide implications. 
 

Offline Scud

  • Petty Officer
  • **
  • Posts: 23
  • Thanked: 18 times
Re: Switch to abbreviations in date strings
« Reply #11 on: May 12, 2020, 02:00:07 PM »
It really always has been this way. Years ago, the only way many of us could play VB6 was by finding a missing .dll online and installing it ourselves.  For many years I had to manually set my resolution higher because my monitor did not support 1024 pixel height natively.

I’m not saying “get used to it”, but it’s important to understand that Steve develops, tests, and plays the game all on his own computers, for his own use.It is, essentially, a personal project. Any personal project is going to have little local dependencies like this.

VB6 eventually gained a “reduced height windows” option for those of us with small screens, and the bugs with .dll dependencies were fixed with the wrapper. Steve’s development priorities have always been Fix bugs> features> user experience.

Steve will probably fix it someday (the amount of erroneous bug reports related to separators was/is driving him up the wall, he may eventually just fix it to stop these reports) but for now it’s on the back burner.
 

Offline twice2double

  • Warrant Officer, Class 1
  • *****
  • t
  • Posts: 76
  • Thanked: 119 times
Re: Switch to abbreviations in date strings
« Reply #12 on: May 12, 2020, 02:35:22 PM »
This issue, along with the comma decimal separator issue, are addressed in AuroraMod: hxxp: aurora2. pentarch. org/index. php?topic=11382. 0
 

Online Steve Walmsley

  • Aurora Designer
  • Star Marshal
  • S
  • Posts: 11682
  • Thanked: 20486 times
Re: Switch to abbreviations in date strings
« Reply #13 on: May 12, 2020, 02:37:21 PM »
The reason I haven't 'fixed' it is that the date displays in the local language. If I force a certain data format that works fine in English, it may not work in other languages and I would have taken away the user ability to change it.

Aurora isn't 'localised' in the same way as commercial games, but you do have the option to change to a display that suits your own preference.
 
The following users thanked this post: SpikeTheHobbitMage, Ruisert, Scud