Function #IDOW returns only 2 characters

May 22, 2013
21
0
#1
I use @IDOW[1950-01-01,4] to detect the current display language. I expect 3 characters as documented in TCC help. However, I only get the first two, thus zo, not zon, for "zondag" (Dutch for Sunday)

What may be wrong?

System is Windows 8.1 professional, 64bits TCC version is still 11.0
 
#3
Just to confirm, Rex, because I have the same "problem".

Windows GetDateFormat takes the "Datum (kurz) (Date (short))" from the following ...?

DatumFormat.JPG

Then, of course, it's clear.

%@idowf takes the "Datum (long) (Date (long))". Should %@idow not take the first "ttt" ("ddd") from "Datum (long) (Date (long))"?
 
May 22, 2013
21
0
#6
No plugins at all. The problem exists only when the date/time is set to Dutch format. Short date dd-mm-yyyy is numeric and should have nothing to do with names of days. The long date format is set to dddd d MMMM jjjj.
When set to English (UK or US), it returns Mon for Monday. When set to Dutch it returns ma for maandag. where maa is expected.
 
May 22, 2013
21
0
#8
Regardless what is configured, the function never return the first three character of the long day of week, but the abbreviated notation as common for your country. In German and Dutch, only the first two characters are standard, while in English the first three are usual.
Such is, however, not ad documented.
 
#10
Regardless what is configured, the function never return the first three character of the long day of week, but the abbreviated notation as common for your country. In German and Dutch, only the first two characters are standard, while in English the first three are usual.
Such is, however, not ad documented.
Ok, understood! And yes, it's true, here in Switzerland, we use only the first two chars. I was (also) confused about the docu.
Thank you!
 
#11
I wasn't referring to the Windows output, I was referring to how TCC is calling the Windows API. For some unknown & undocumented reason, the API is returning the wrong result in Dutch and German (at least on some systems; I don't know whether it happens in all).
Ok, understood! It's a swiss german edition BTW. We have only the first two chars for short-day, so it's not incorrect. But after reading the docu - I was confused. Maybe the docu could changed ...

From ...
"Returns the 3-character abbreviation for the day of the week for the specified date, in the current locale language."

... to ...
"Returns the abbreviation for the day of the week for the specified date, in the current locale language."