Changeset 142 for trunk/src/helpers/nls.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/nls.c
r136 r142 22 22 23 23 /* 24 * Copyright (C) 1997-200 1Ulrich Mller.24 * Copyright (C) 1997-2002 Ulrich Mller. 25 25 * This file is part of the "XWorkplace helpers" source package. 26 26 * This is free software; you can redistribute it and/or modify … … 268 268 269 269 nlsDateTime(pszBuf, 270 271 272 273 274 270 NULL, // no time 271 &dt, 272 ulDateFormat, 273 cDateSep, 274 0, 0); // no time 275 275 } 276 276 … … 326 326 *@@added V0.9.0 (99-11-07) [umoeller] 327 327 *@@changed V0.9.16 (2001-12-05) [pr]: fixed AM/PM hour bug 328 *@@changed V0.9.18 (2002-02-13) [umoeller]: fixed AM/PM hour bug fix 328 329 */ 329 330 … … 387 388 if (pDateTime->hours >= 12) // V0.9.16 (2001-12-05) [pr] if (pDateTime->hours > 12) 388 389 { 390 // yeah cool Paul, now we get 00:20 PM if it's 20 past noon 391 // V0.9.18 (2002-02-13) [umoeller] 392 ULONG ulHours; 393 if (!(ulHours = pDateTime->hours % 12)) 394 ulHours = 12; 395 389 396 // >= 12h: PM. 390 397 PrfQueryProfileString(HINI_USER, … … 395 402 sprintf(pszTime, "%02d%c%02d%c%02d %s", 396 403 // leave 12 == 12 (not 0) 397 pDateTime->hours % 12,404 ulHours, 398 405 cTimeSep, 399 406 pDateTime->minutes,
Note:
See TracChangeset
for help on using the changeset viewer.