Changeset 3787 for trunk


Ignore:
Timestamp:
Mar 22, 2012, 8:46:40 PM (13 years ago)
Author:
bird
Message:

localeTimeDo: Fix bad date_time_fmt string for en_GB and others (hour instead of minutes).

Location:
trunk/libc/src/libc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/src/libc/libc.def

    r2941 r3787  
    19991999    "___libc_TermDll" @1995
    20002000    "___libc_TermProcess" @1996
     2001    "___libc_Back_fsPathConf" @1997
     2002    "___libc_Back_ioPathConf" @1998
  • trunk/libc/src/libc/locale/os2/setlocale.c

    r3523 r3787  
    830830        return rc;
    831831    }
     832
     833    /*
     834     * Hacks for bad data in LOCALE.DLL.
     835     */
     836    if (!strcmp(pTime->date_time_fmt, "%a %e %b %H:%H:%S %Z %Y"))
     837        strcpy( pTime->date_time_fmt, "%a %e %b %H:%M:%S %Z %Y");
    832838
    833839    return 0;
Note: See TracChangeset for help on using the changeset viewer.