Moving from millis to time format is a problem. These values are timezone independent. Also, allowing too many date/time formats seems  like introducing even more problems. I'd rather declare a good format and move on. Dygraphs prefers Y/M/D (see http://dygraphs.com/date-formats.html)  ..., but I can be flexible.