diff options
author | Stanislav Malyshev <stas@php.net> | 2015-01-03 01:22:58 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-01-10 15:07:38 -0800 |
commit | b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch) | |
tree | 0e09490075ee4f9a75a77ef4168d8ee254c52e5b /ext/date/lib/unixtime2tm.c | |
parent | 773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff) | |
download | php-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz |
trailing whitespace removal
Diffstat (limited to 'ext/date/lib/unixtime2tm.c')
-rw-r--r-- | ext/date/lib/unixtime2tm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/date/lib/unixtime2tm.c b/ext/date/lib/unixtime2tm.c index 93c4126d14..c0878cdbbf 100644 --- a/ext/date/lib/unixtime2tm.c +++ b/ext/date/lib/unixtime2tm.c @@ -141,7 +141,7 @@ void timelib_update_from_sse(timelib_time *tm) signed int dst = tm->dst; sse = tm->sse; - + switch (tm->zone_type) { case TIMELIB_ZONETYPE_ABBR: case TIMELIB_ZONETYPE_OFFSET: { @@ -152,11 +152,11 @@ void timelib_update_from_sse(timelib_time *tm) case TIMELIB_ZONETYPE_ID: { timelib_time_offset *gmt_offset; - + gmt_offset = timelib_get_time_zone_info(tm->sse, tm->tz_info); timelib_unixtime2gmt(tm, tm->sse + gmt_offset->offset); timelib_time_offset_dtor(gmt_offset); - + goto cleanup; } @@ -182,7 +182,7 @@ void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) case TIMELIB_ZONETYPE_OFFSET: { int z = tm->z; signed int dst = tm->dst; - + timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); tm->z = z; @@ -195,7 +195,7 @@ void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) timelib_unixtime2gmt(tm, ts + gmt_offset->offset); /* we need to reset the sse here as unixtime2gmt modifies it */ - tm->sse = ts; + tm->sse = ts; tm->dst = gmt_offset->is_dst; tm->z = gmt_offset->offset; tm->tz_info = tz; |