Commit 93ceeed9 authored by rswindell's avatar rswindell
Browse files

Removed SM_LOCAL_TZ flags (*always* local TZ now) - forgot to commit this.

parent f80d6b9d
......@@ -6,7 +6,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2002 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -252,8 +252,6 @@ be able to logon as New, leave this option blank.
,cfg.sys_misc&SM_CLOSED ? "Yes" : "No");
sprintf(opt[i++],"%-33.33s%s","Use Location in User Lists"
,cfg.sys_misc&SM_LISTLOC ? "Yes" : "No");
sprintf(opt[i++],"%-33.33s%s","Use Local/System Time Zone"
,cfg.sys_misc&SM_LOCAL_TZ ? "Yes" : "No");
sprintf(opt[i++],"%-33.33s%s","Automatic Daylight Savings Time"
,cfg.sys_misc&SM_AUTO_DST ? "Yes" : "No");
sprintf(opt[i++],"%-33.33s%s","Military (24 hour) Time Format"
......@@ -500,29 +498,6 @@ set this option to Yes. If this option is set to No, the user notes
break;
case 10:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
i=cfg.sys_misc&SM_LOCAL_TZ ? 0:1;
SETHELP(WHERE);
/*
Use Local/System Time Zone:
If you would like the times to be displayed adjusting for the local
time zone, set this optiont to Yes. If this option is set to Yes, then
all times will be stored in GMT/UTC representation. If this option is
set to No, then all times will be stored in local representation.
*/
i=uifc.list(WIN_MID|WIN_SAV,0,0,0,&i,0
,"Use Local/System Time Zone",opt);
if(!i && !(cfg.sys_misc&SM_LOCAL_TZ)) {
cfg.sys_misc|=SM_LOCAL_TZ;
uifc.changes=1; }
else if(i==1 && cfg.sys_misc&SM_LOCAL_TZ) {
cfg.sys_misc&=~SM_LOCAL_TZ;
uifc.changes=1; }
break;
case 11:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
i=cfg.sys_misc&SM_AUTO_DST ? 0:1;
......@@ -547,7 +522,7 @@ time on your system(s) for you.
uifc.changes=1;
}
break;
case 12:
case 11:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
......@@ -568,7 +543,7 @@ format always, set this option to Yes.
cfg.sys_misc&=~SM_MILITARY;
uifc.changes=1; }
break;
case 13:
case 12:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
......@@ -589,7 +564,7 @@ instead of MM/DD/YY format, set this option to Yes.
cfg.sys_misc&=~SM_EURODATE;
uifc.changes=1; }
break;
case 14:
case 13:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
......@@ -610,7 +585,7 @@ time online, then set this option to Yes.
cfg.sys_misc&=~SM_TIME_EXP;
uifc.changes=1; }
break;
case 15:
case 14:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
......@@ -631,7 +606,7 @@ to Yes.
cfg.sys_misc|=SM_NOSYSINFO;
uifc.changes=1; }
break;
case 16:
case 15:
strcpy(opt[0],"Yes");
strcpy(opt[1],"No");
opt[2][0]=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment