From 1107f825736f11374a910959c5b98d9291cf8641 Mon Sep 17 00:00:00 2001 From: "james.broome" Date: Mon, 29 Feb 2016 13:55:12 +0000 Subject: [PATCH] Fixing bug in date time conversion --- Anomaly Detection/R/azureml_ts_anom_detection.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anomaly Detection/R/azureml_ts_anom_detection.R b/Anomaly Detection/R/azureml_ts_anom_detection.R index e5d610e..1009c9b 100644 --- a/Anomaly Detection/R/azureml_ts_anom_detection.R +++ b/Anomaly Detection/R/azureml_ts_anom_detection.R @@ -111,7 +111,7 @@ if(xlabel == "None") { xlabel <- ''} } #res$anoms$timestamp <- as.character(res$anoms$timestamp, format="%Y-%m-%dT%I:%M:%S %Z") - res$anoms[[1]] <- as.character(res$anoms[[1]], format="%Y-%m-%dT%I:%M:%S %Z") + res$anoms[[1]] <- as.character(res$anoms[[1]], format="%Y-%m-%dT%H:%M:%S %Z") if(plot == TRUE){print(res$plot) }