Yes, I tried this on a real device. And as far as I can tell, this issue is
specific to Dell device you are using. All other 2003 devices I used have
4-digit year for UK locale (it's a default in fact). So, this is NOT a
problem with WinCE or PPC'03 platform in general. It's a result of some
image customization OEM did.
- Roman
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Paul [Paradise Solutions]" <Paul@Don'tChuffingSpamMe.com>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Re: Dateformat in PPC 2003 ??????
| Date: Tue, 25 Nov 2003 11:26:34 +0000
| Lines: 233
| Message-ID: <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
| NNTP-Posting-Host: 80.177.200.10
| Mime-Version: 1.0
| Content-Type: text/plain; charset=us-ascii; format=flowed
| Content-Transfer-Encoding: 7bit
| X-Trace: news.demon.co.uk 1069759589 10552 80.177.200.10 (25 Nov 2003
11:26:29 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Tue, 25 Nov 2003 11:26:29 +0000 (UTC)
| In-Reply-To: <
[email protected]>
| X-Accept-Language: en-us, en
| User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030901 Thunderbird/0.2
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!kibo.news.demon.net!news.dem
on.co.uk!demon!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:39294
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Again, I say, with all due respect...
|
| Have you actually tried this on a real device? On 2003 devices (or the
| one that I've used) while there is the selection for multi date formats,
| ~none~ allow the display of 4-digit years, only 2.
| With the fact that this has deemed to be not a fault with the CF (which
| I agree - PPC2002 devices with CF still give the option for 4-dgit
| years), does it mean that this issue will be passed to the department
| involved or will it stop here, as "I'm alright, Jack" ?
|
|
| Paul
|
|
| Roman Batoukov [MS] wrote:
| > Paul,
| > It looks like default format for UK is YY, however, you should be able
to
| > modify it via Regional Settings. Just select Date tab near the bottom
of
| > the screen - you'll see the screen that shows "Short date" list box. OS
| > normally offers a few selections for every locale.
| > Anyways, it does not look like this issue is specific to .NetCF.
| >
| > - Roman
| >
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| >
| > --------------------
| > | From: "Paul [Paradise Solutions]" <Paul@Don'tChuffingSpamMe.com>
| > | Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | Subject: Re: Dateformat in PPC 2003 ??????
| > | Date: Mon, 17 Nov 2003 09:35:48 +0000
| > | Lines: 163
| > | Message-ID: <
[email protected]>
| > | References: <
[email protected]>
| > <
[email protected]>
| > <
[email protected]>
| > <
[email protected]>
| > | NNTP-Posting-Host: 80.177.200.10
| > | Mime-Version: 1.0
| > | Content-Type: text/plain; charset=us-ascii; format=flowed
| > | Content-Transfer-Encoding: 7bit
| > | X-Trace: news.demon.co.uk 1069061748 3486 80.177.200.10 (17 Nov 2003
| > 09:35:48 GMT)
| > | X-Complaints-To: (e-mail address removed)
| > | NNTP-Posting-Date: Mon, 17 Nov 2003 09:35:48 +0000 (UTC)
| > | In-Reply-To: <
[email protected]>
| > | X-Accept-Language: en-us, en
| > | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
| > Gecko/20030901 Thunderbird/0.2
| > | Path:
| >
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
| > e.de!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
| > | Xref: cpmsftngxa06.phx.gbl
| > microsoft.public.dotnet.framework.compactframework:38791
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > |
| > | With due respect...
| > |
| > | I'm the only user of the PDA in question, after a hard reset and
| > | selecting UK at a time zone and then in regional settings, changing
it
| > | to UK also, there is no option to select a 4 digit display. It is my
| > | opinion that the underlying OS iterperates the dates as 4 digit, but
| > | does not allow 4 digit display, only 2....
| > |
| > | Having said that, when I get the chance I will attempt your code (I'm
a
| > | VB developer).
| > |
| > |
| > | Paul
| > |
| > | Pavel Treskunov [MSFT] wrote:
| > | > Paul, Richard,
| > | >
| > | > Would you mind running the following piece of (C#) code on your
devices:
| > | >
| > | > // using System;
| > | > // using System.Globalization;
| > | >
| > | > DateTime dt = DateTime.Now;
| > | >
| > | > // case #1
| > | > CultureInfo ci = new CultureInfo (0x41d);
| > | > Console.WriteLine(ci.Name + " " +
| > | > ci.DateTimeFormat.ShortDatePattern);
| > | > Console.WriteLine( "[{0}]", dt.ToString("d",
| > ci.DateTimeFormat)
| > | > );
| > | >
| > | > // case #2
| > | > ci = CultureInfo.CurrentCulture;
| > | > Console.WriteLine (ci.Name + " " +
| > | > ci.DateTimeFormat.ShortDatePattern);
| > | > Console.WriteLine( "[{0}]", dt.ToString("d",
| > ci.DateTimeFormat)
| > | > );
| > | >
| > | >
| > | > // case #3
| > | > ci = new CultureInfo (0x41d, false);
| > | > Console.WriteLine(ci.Name + " " +
| > | > ci.DateTimeFormat.ShortDatePattern);
| > | > Console.WriteLine( "[{0}]", dt.ToString("d",
| > ci.DateTimeFormat)
| > | > );
| > | >
| > | > (You may want/need to substitute Console.WriteLine calls with
something
| > | > else, e.g. writing to a file)
| > | >
| > | > The short explanation is that you (or someone else) may have
changed
| > the
| > | > default setings of your device (Control Panel/Regional
Settings/Date)
| > to
| > | > show year info as "YY". Even in this case, you can ignore this
change
| > in
| > | > your managed app (see case #3 above).
| > | >
| > | >
| > | > Hope this helps.
| > | >
| > | > Pavel Treskunov
| > | > NET Compact Framework
| > | > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| > | > --------------------
| > | >
| > | >>From: "Paul [Paradise Solutions]" <Paul@Don'tChuffingSpamMe.com>
| > | >>Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | >>Subject: Re: Dateformat in PPC 2003 ??????
| > | >>Date: Thu, 13 Nov 2003 09:49:06 +0000
| > | >>Lines: 53
| > | >>Message-ID: <
[email protected]>
| > | >>References: <
[email protected]>
| > | >
| > | > <
[email protected]>
| > | >
| > | >>NNTP-Posting-Host: 80.177.200.10
| > | >>Mime-Version: 1.0
| > | >>Content-Type: text/plain; charset=us-ascii; format=flowed
| > | >>Content-Transfer-Encoding: 7bit
| > | >>X-Trace: news.demon.co.uk 1068716947 17773 80.177.200.10 (13 Nov
2003
| > | >
| > | > 09:49:07 GMT)
| > | >
| > | >>X-Complaints-To: (e-mail address removed)
| > | >>NNTP-Posting-Date: Thu, 13 Nov 2003 09:49:07 +0000 (UTC)
| > | >>In-Reply-To: <
[email protected]>
| > | >>X-Accept-Language: en-us, en
| > | >>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.5b)
| > | >
| > | > Gecko/20030901 Thunderbird/0.2
| > | >
| > | >>Path:
| > | >
| > | >
| >
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
| > | > e.de!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
| > | >
| > | >>Xref: cpmsftngxa06.phx.gbl
| > | >
| > | > microsoft.public.dotnet.framework.compactframework:38471
| > | >
| > | >>X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > | >>
| > | >>I noticed the same thing - Using A Dell Axim x5 PPC 2003. They
have
| > | >>removed the option to have dates displayed in dd/MM/yyyy format in
| > | >>favour of two digit years (region is set to UK).
| > | >>
| > | >>Pavel Treskunov [MSFT] wrote:
| > | >>
| > | >>
| > | >>>Richard,
| > | >>>
| > | >>>1. What device are you using?
| > | >>>2. How short date shows up under Regional Settings?
| > | >>>3. Did you change date format via Regional Settings?
| > | >>>4. Are you using a .NetCF or a native application?
| > | >>>
| > | >>>Pavel Treskunov
| > | >>>NET Compact Framework
| > | >>>This posting is provided "AS IS" with no warranties, and confers
no
| > | >
| > | > rights.
| > | >
| > | >>>--------------------
| > | >>>
| > | >>>
| > | >>>>From: "Richard Kvist" <
[email protected]>
| > | >>>>Subject: Dateformat in PPC 2003 ??????
| > | >>>>Date: Tue, 14 Oct 2003 16:06:18 +0200
| > | >>>>Lines: 10
| > | >>>>X-Priority: 3
| > | >>>>X-MSMail-Priority: Normal
| > | >>>>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | >>>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | >>>>Message-ID: <
[email protected]>
| > | >>>>Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | >>>>NNTP-Posting-Host: ida.dagaz.se 212.28.208.247
| > | >>>>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | >>>>Xref: cpmsftngxa06.phx.gbl
| > | >>>
| > | >>>microsoft.public.dotnet.framework.compactframework:35928
| > | >>>
| > | >>>
| > | >>>>X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > | >>>>
| > | >>>>Well !
| > | >>>>
| > | >>>>MS have done it again. They have altered the Swedish format of
| > | >
| > | > shortdate
| > | >
| > | >>>to
| > | >>>
| > | >>>
| > | >>>>YY-MM-DD from YYYY-MM-DD
| > | >>>>
| > | >>>>Is this a bugg or are they just crazy.
| > | >>>>
| > | >>>>Richard
| > | >>>>
| > | >>>>
| > | >>>>
| > | >>>
| > | >>>
| > | >>
| > | >
| > |
| > |
| >
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
|
|
This posting is provided "AS IS" with no warranties, and confers no rights.