mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 15:02:40 +00:00
Monotone-Parent: bc5b13a95fc1868b4361ef33d8fde7ec4ea09c75
Monotone-Revision: 7e7946ac70e135f3e208b210455b3238dd36d951 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-30T19:49:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
83c5a044ac
commit
629cf8ec10
3 files changed
+36
-4
No files matched your search
@@ -106,7 +106,11 @@ static BOOL debugOn = YES;
|
||||
char buf[32];
|
||||
|
||||
if (_p == NULL) _p = "";
|
||||
#if GS_64BIT_OLD
|
||||
sprintf(buf, "%s%02i:%02i", _p, [_d hourOfDay], [_d minuteOfHour]);
|
||||
#else
|
||||
sprintf(buf, "%s%02li:%02li", _p, [_d hourOfDay], [_d minuteOfHour]);
|
||||
#endif
|
||||
return [StrClass stringWithCString:buf];
|
||||
}
|
||||
|
||||
@@ -138,10 +142,15 @@ static BOOL debugOn = YES;
|
||||
}
|
||||
}
|
||||
|
||||
/* 26.08.2004 13:24 */
|
||||
#if GS_64BIT_OLD
|
||||
sprintf(buf, "%02d.%02d.%04d %02d:%02d",
|
||||
[_date dayOfMonth], [_date monthOfYear], [_date yearOfCommonEra],
|
||||
[_date hourOfDay], [_date minuteOfHour]);
|
||||
#else
|
||||
sprintf(buf, "%02ld.%02ld.%04ld %02ld:%02ld",
|
||||
[_date dayOfMonth], [_date monthOfYear], [_date yearOfCommonEra],
|
||||
[_date hourOfDay], [_date minuteOfHour]);
|
||||
#endif
|
||||
return [StrClass stringWithCString:buf];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user