If you use the "yy" pattern instead, the default behavior will be to guess
the year based on the 20 yrs forward, 80 yrs back logic.
On Wednesday, December 1, 2010 at 8:46:03 AM UTC-5, HerrB92 wrote:
>
> Hi,
>
> I'm sorry, I don't know if there is and this is the right place to
> place an enhanc
HerrB, if you're using a DateBox you can pretty easily get the
behavior you're after by providing your own implementation of the
DateBox.Format interface to the DateBox constructor. Your
implementation can pretty much just be a simple wrapper around the
Default one that adjusts the century to be 2
On Wed, Dec 1, 2010 at 11:50 AM, HerrB92 wrote:
> Err, yes ... I don't ever want a 2-digit year, also.
>
> I have people, that enter "10" and expect to get "2010". Currently,
> you will get "0010" (with a "" pattern).
>
> But I think, I get the point: If there is textfield and a user enters
>
Err, yes ... I don't ever want a 2-digit year, also.
I have people, that enter "10" and expect to get "2010". Currently,
you will get "0010" (with a "" pattern).
But I think, I get the point: If there is textfield and a user enters
1.1.10 and default date parsing is used (pattern "dd.MM."