Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/CDB-491' into release/2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rafacas committed Nov 20, 2013
2 parents d46c08b + 8f57d93 commit a3b20b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/assets/javascripts/cartodb/models/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ cdb.admin.models.Filter = cdb.core.Model.extend({

var tz = this._getTimeZone(this.get("tz"));

var lowerDate = moment(lower).format("YYYY-MM-DDTHH:mm:ss+" + tz).toString();
var upperDate = moment(upper).format("YYYY-MM-DDTHH:mm:ss+" + tz).toString();
var upperDateWithOffset = moment(upper + 1000).format("YYYY-MM-DDTHH:mm:ss+" + tz).toString();
var lowerDate = moment(lower).format("YYYY-MM-DDTHH:mm:ssZ").toString();
var upperDate = moment(upper).format("YYYY-MM-DDTHH:mm:ssZ").toString();
var upperDateWithOffset = moment(upper + 1000).format("YYYY-MM-DDTHH:mm:ssZ").toString();

var attributes = _.clone(this.attributes);

Expand Down

0 comments on commit a3b20b5

Please sign in to comment.