Timepicker popup

Here is my PR for Issue  #1637.
In line 398 I use moment to parse the given datetime string. May be someone has a better idea getting the job done.