Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
93ceeed9
Commit
93ceeed9
authored
Feb 24, 2008
by
rswindell
Browse files
Removed SM_LOCAL_TZ flags (*always* local TZ now) - forgot to commit this.
parent
f80d6b9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
31 deletions
+6
-31
src/sbbs3/scfg/scfgsys.c
src/sbbs3/scfg/scfgsys.c
+6
-31
No files found.
src/sbbs3/scfg/scfgsys.c
View file @
93ceeed9
...
...
@@ -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 200
2
Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 200
8
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
1
2
:
case
1
1
:
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
1
3
:
case
1
2
:
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
1
4
:
case
1
3
:
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
1
5
:
case
1
4
:
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
1
6
:
case
1
5
:
strcpy
(
opt
[
0
],
"Yes"
);
strcpy
(
opt
[
1
],
"No"
);
opt
[
2
][
0
]
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment