In time2date, return #f instead of "" for the time zone, if we want
the Scheme-side code to compute a numerical offset to UTC.
This commit is contained in:
parent
7559be876a
commit
8a936d2958
|
@ -135,7 +135,7 @@ s48_value time2date(s48_value sch_t, s48_value sch_zone)
|
|||
int offset = s48_extract_fixnum(sch_zone);
|
||||
t += s48_extract_fixnum(sch_zone);
|
||||
d = *gmtime(&t);
|
||||
sch_tz_name = s48_enter_string("");
|
||||
sch_tz_name = S48_FALSE;
|
||||
sch_tz_secs = s48_enter_fixnum (offset);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue