Page 1 of 1

Build queue date

Posted: Mon Jan 10, 2022 3:42 pm
by ncc1701e
There is a bug in the editor. This is not possible to put a day after 12.

Image

RE: Build queue date

Posted: Tue Jan 11, 2022 4:16 am
by ncc1701e
And perhaps not needed to treat February 29th. [:D]

RE: Build queue date

Posted: Tue Jan 11, 2022 10:29 am
by AlvaroSousa
That's because you are clicking the month.

I did it European style YY MM DD

I'm clicking it right now.

RE: Build queue date

Posted: Tue Jan 11, 2022 6:02 pm
by ncc1701e
No, both values are blocked at 12. Is it working for you?

RE: Build queue date

Posted: Wed Jan 12, 2022 9:36 am
by AlvaroSousa
100% working for me. That hasn't been changed in years literally.

Tell me what you are trying to do exactly so I can do the same and see.

RE: Build queue date

Posted: Wed Jan 12, 2022 1:40 pm
by ncc1701e
Well not for me and I don't find any error logs. YYYY MM DD -> MM and DD are limited to 12.

Here is the screenshot. I think this is again a problem of localization. As you can see in the screenshot, the dates are in French. I hope you are remembering this problem. It seems to be still in the editor.

Image

RE: Build queue date

Posted: Wed Jan 12, 2022 1:41 pm
by ncc1701e
In the game, it was solved to always display English. There is an old bug thread about this.

Image

RE: Build queue date

Posted: Wed Jan 12, 2022 2:04 pm
by AlvaroSousa
I just did the same screen, same country, same unit.... no problem.





Image

RE: Build queue date

Posted: Wed Jan 12, 2022 2:06 pm
by AlvaroSousa
I have no idea why it is limiting you to 12 on the day. It literally has a range of 1-31 in the code.

RE: Build queue date

Posted: Wed Jan 12, 2022 2:15 pm
by ncc1701e
It is because of the localization of the dates for me. Are you using the old Unity library that was causing problems in the Deployment queue?

RE: Build queue date

Posted: Wed Jan 12, 2022 2:21 pm
by AlvaroSousa
Was there an issue with the Unity version? WP1 is based on Unity 2019. Unity 2020 had a fair amount of changes that if I upgraded I would be spending a long time fixing these differences.

RE: Build queue date

Posted: Wed Jan 12, 2022 2:22 pm
by AlvaroSousa
I'll look at the code to see if I can rewrite this in a different acceptable format. It is just weird what it is doing.

RE: Build queue date

Posted: Wed Jan 12, 2022 3:09 pm
by ncc1701e
Thanks a lot. If this may help, the old bug was fixed in 1.00.09 patch:
https://www.matrixgames.com/forums/tm.asp?m=4923298
Fixed date in deployment queue

Re: Build queue date

Posted: Tue Nov 22, 2022 6:31 pm
by ncc1701e
Is there any possibility to add more traces to understand this problem please? Maybe an unofficial debug patch just for my computer.

Re: Build queue date

Posted: Tue Nov 22, 2022 11:11 pm
by AlvaroSousa
It has to do with the language and the date format.

The US it is MM, DD, YY
Europe it is DD, MM, YY which of course makes more sense.

I internally set the language to English in the game but your PC switches it back to French.

I looked for quite a while why it is doing this and I could never find an answer.