From 08a30b255d4b0720e1d2fdc796330f3ce324f6cc Mon Sep 17 00:00:00 2001 From: Marek Kukan Date: Thu, 6 Jun 2019 14:31:54 +0200 Subject: [PATCH] fix bug in plotly_convert_to_datetime --- src/backends/plotly.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index b642979f..81d0bb7f 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -436,7 +436,7 @@ plotly_native_data(axis::Axis, a::Surface) = Surface(plotly_native_data(axis, a. function plotly_convert_to_datetime(x::AbstractArray, formatter::Function) if formatter == datetimeformatter - map(xi -> replace(formatter(xi), "T", " "), x) + map(xi -> replace(formatter(xi), "T" => " "), x) elseif formatter == dateformatter map(xi -> string(formatter(xi), " 00:00:00"), x) elseif formatter == timeformatter