projects
/
talweg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f90df6
)
final fix: tz=working_tz in as.POSIXlt(...)
author
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 22 Mar 2017 16:41:17 +0000
(17:41 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Wed, 22 Mar 2017 16:41:17 +0000
(17:41 +0100)
pkg/R/getData.R
patch
|
blob
|
blame
|
history
diff --git
a/pkg/R/getData.R
b/pkg/R/getData.R
index
9ed0217
..
e13cf86
100644
(file)
--- a/
pkg/R/getData.R
+++ b/
pkg/R/getData.R
@@
-76,7
+76,7
@@
getData = function(ts_data, exo_data, input_tz="GMT", date_format="%d/%m/%Y %H:%
serie = c(serie, ts_df[line,2])
line = line + 1
};
- if (line >= nb_lines + 1 || as.POSIXlt(ts_df[line-1,1])$hour == predict_at)
+ if (line >= nb_lines + 1 || as.POSIXlt(ts_df[line-1,1]
,tz=working_tz
)$hour == predict_at)
break
}