mirror of https://github.com/BOINC/boinc.git
- client: fix time-zone offset in net BW quota
svn path=/trunk/boinc/; revision=21421
This commit is contained in:
parent
9e2e47c1de
commit
a4de51d667
|
@ -3414,7 +3414,13 @@ David 7 May 2010
|
|||
credit.php (new)
|
||||
|
||||
Rom 7 May 2010
|
||||
- DIAG: Make init functions consistant with one another.
|
||||
- DIAG: Make init functions consistent with one another.
|
||||
|
||||
lib/
|
||||
diagnostics.cpp
|
||||
|
||||
David 8 May 2010
|
||||
- client: fix time-zone offset in net BW quota
|
||||
|
||||
client/
|
||||
net_stats.cpp
|
||||
|
|
|
@ -292,7 +292,7 @@ void DAILY_XFER::write(FILE* f) {
|
|||
}
|
||||
|
||||
inline int current_day() {
|
||||
return (int)((gstate.now-gstate.host_info.timezone)/86400);
|
||||
return (int)((gstate.now + gstate.host_info.timezone)/86400);
|
||||
}
|
||||
|
||||
DAILY_XFER* DAILY_XFER_HISTORY::today() {
|
||||
|
|
Loading…
Reference in New Issue