twitter / AnomalyDetection

Anomaly Detection with R
GNU General Public License v3.0
3.55k stars 779 forks source link

Store timestamp as POSIXct, not POSIXlt #92

Open caijun opened 6 years ago

caijun commented 6 years ago

To fix the Error: Column timestamp is a date/time and must be stored as POSIXct, not POSIXlt, we should store the timstamp variable as POSIXct, not POSIXlt, which also make it compatible with dplyr, ggplot2 etc. packages that requires putting POSIXct in a data frame. see issue https://github.com/tidyverse/dplyr/issues/179

This PR may also fix the issue https://github.com/twitter/AnomalyDetection/issues/2

CLAassistant commented 6 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.