mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 06:52:40 +00:00
reindentation
Monotone-Parent: 215f30784ae8904703b5fa172c7a563bf8f3b464 Monotone-Revision: 2f37714ba202d0c2f6bc3c888440ea82ee601d66 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-01T20:35:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
43568edc76
commit
e4b127bb53
11 files changed
+1376
-1283
No files matched your search
@@ -38,13 +38,14 @@
|
||||
NSTimeZone *utc;
|
||||
uint64_t interval;
|
||||
|
||||
if (!refDate) {
|
||||
utc = [NSTimeZone timeZoneWithName: @"UTC"];
|
||||
refDate = [NSCalendarDate dateWithYear: 1601 month: 1 day: 1
|
||||
hour: 0 minute: 0 second: 0
|
||||
timeZone: utc];
|
||||
[refDate retain];
|
||||
}
|
||||
if (!refDate)
|
||||
{
|
||||
utc = [NSTimeZone timeZoneWithName: @"UTC"];
|
||||
refDate = [NSCalendarDate dateWithYear: 1601 month: 1 day: 1
|
||||
hour: 0 minute: 0 second: 0
|
||||
timeZone: utc];
|
||||
[refDate retain];
|
||||
}
|
||||
interval = (((uint64_t) [self timeIntervalSinceDate: refDate]) * 10000000);
|
||||
timeValue = talloc_zero(memCtx, struct FILETIME);
|
||||
timeValue->dwLowDateTime = (uint32_t) (interval & 0xffffffff);
|
||||
|
||||
Reference in new issue
Block a user