Commit 02d7d98e1a261b7354ccc3227760e49c08b5c715

Authored by Benjamin Renard
1 parent 6d3c8804

Fix time format

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
js/app/views/PlotComponents/PlotZoomPlug.js
... ... @@ -407,8 +407,8 @@ Ext.define('amdaPlotComp.PlotZoomPlug', {
407 407 scope: this,
408 408 handler: function () {
409 409 if (this.zoomType == 'timeAxis') {
410   - var minZoom = Ext.Date.format(this.form.getForm().findField('zoom-min-time').getValue(), 'Y-m-d H:i:s.u');
411   - var maxZoom = Ext.Date.format(this.form.getForm().findField('zoom-max-time').getValue(),'Y-m-d H:i:s.u');
  410 + var minZoom = Ext.Date.format(this.form.getForm().findField('zoom-min-time').getValue(), 'Y-m-d\\TH:i:s.u');
  411 + var maxZoom = Ext.Date.format(this.form.getForm().findField('zoom-max-time').getValue(),'Y-m-d\\TH:i:s.u');
412 412 }
413 413 else {
414 414 var minZoom = this.form.getForm().findField('zoom-min-float').getValue();
... ...