by Michael S. Kaplan, published on 2006/06/13 14:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2006/06/13/629804.aspx
It was many months ago that I asked Does size matter? And if so, how do you measure it?
Funny how preoccupied everyone seems to be with size, all around the world.
Anyway, in the NLS API, the GetLocaleInfo function's LCTYPEs include:
but in many situations such as less formal date format strings or calendars, an abbreviated name is needed, so we provide that as well:
Unfortunately, many locales saw their representatives on the data side feeling that they never did abbreviate the day names, so rather than thinking about tiny UI like a calendar in Outlook that was going to squish their long names together, they made the abbreviated names identical to the full names.
And from the standpoint of a language and how it is used in a locale -- how dates are formatted and so on, this may be okay. But in this case, we are not talking about date formats. We need something for calendars.
So, to try to address that, and with the pressure of all of the Vista updates to clock and calendar, seven new fields have been added:
In fact, GetDateFormat does not even have the notion of formatting with these shortest day names (which are at most two UTF-16 code points, because otherwise they may be truncated!).
And the word has gone out that these names NEED to be short, for use in the calendar in Vista. And that any names that are not short at all will be shortened in order to fit into the user interface -- so it is obviously in everyone's best interests if they decide how they would like to shorten things.
So once again we sees that size matters -- this time since some people are clearly making their names too big! :-)
This post brought to you by ᠠ (U+1820, a.k.a. MONGOLIAN LETTER A)
# Gabe on 13 Jun 2006 2:08 PM:
# Michael Dunn_ on 13 Jun 2006 2:12 PM:
# Michael S. Kaplan on 13 Jun 2006 2:35 PM:
# Michael S. Kaplan on 13 Jun 2006 2:35 PM:
# Maurits on 13 Jun 2006 4:30 PM:
# josh on 16 Jun 2006 12:04 PM:
# Michael S. Kaplan on 16 Jun 2006 1:07 PM:
# Jerry Pisk on 19 Jun 2006 6:50 PM:
# Michael S. Kaplan on 19 Jun 2006 6:54 PM:
referenced by
2011/01/27 {recycled joke here} It could have been called LOCALE_SSINGLESERVINGDAYNAME*
2006/07/08 They could be a little shorter
2006/06/17 On the first day of Microsoft