Changeset 6466 for trunk/src


Ignore:
Timestamp:
Aug 6, 2001, 5:59:51 PM (24 years ago)
Author:
sandervl
Message:

DT: datetime fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/datetime.c

    r6039 r6466  
    105105extern void MONTHCAL_CopyTime(const SYSTEMTIME *from, SYSTEMTIME *to);
    106106static const char *allowedformatchars = {"dhHmMstyX'"};
     107#ifdef __WIN32OS2__
     108static const int maxrepetition [] = {4,2,2,2,4,2,2,4,-1,-1};
     109//DT all wine xxx.nls contains yyyy for FULLYEAR
     110#else
    107111static const int maxrepetition [] = {4,2,2,2,4,2,2,3,-1,-1};
    108 
     112#endif
    109113
    110114static LRESULT
     
    440444        case FULLMONTH:   
    441445                GetLocaleInfoA( GetSystemDefaultLCID(),LOCALE_SMONTHNAME1+date.wMonth -1,
     446#ifdef __WIN32OS2__
     447                                buffer,sizeof(buffer));
     448                strcpy  (result,buffer);
     449#else
    442450                  result,sizeof(result));
     451#endif
    443452                break;
    444453        case ONELETTERAMPM:   
Note: See TracChangeset for help on using the changeset viewer.