mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Monotone-Parent: 69ec7c5e5b614344af143a54ceb32686d3daa756
Monotone-Revision: bf42b4068082eb38268bdf4f7034597312c2bb7c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-05T21:53:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -379,14 +379,20 @@ static BOOL uixDebugEnabled = NO;
|
||||
{
|
||||
s = [self queryParameterForKey: @"day"];
|
||||
if ([s length] > 0)
|
||||
{
|
||||
dateString = [s stringByAppendingFormat: @" %@",
|
||||
[[self viewTimeZone] abbreviation]];
|
||||
cdate = [NSCalendarDate dateWithString: dateString
|
||||
calendarFormat: @"%Y%m%d %Z"];
|
||||
}
|
||||
dateString = [s stringByAppendingFormat: @" %@",
|
||||
[[self viewTimeZone] abbreviation]];
|
||||
else
|
||||
cdate = [NSCalendarDate date];
|
||||
{
|
||||
cdate = [NSCalendarDate calendarDate];
|
||||
dateString = [NSString stringWithFormat: @"%d%d%d %@",
|
||||
[cdate yearOfCommonEra],
|
||||
[cdate monthOfYear],
|
||||
[cdate dayOfMonth],
|
||||
[[self viewTimeZone] abbreviation]];
|
||||
}
|
||||
|
||||
cdate = [NSCalendarDate dateWithString: dateString
|
||||
calendarFormat: @"%Y%m%d %Z"];
|
||||
s = [self queryParameterForKey: @"hm"];
|
||||
if ([s length] == 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user