Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor change to use getDueDate() function

  • Loading branch information...
commit 7afb1b7d08fd7cc0bc8156e5cc89dfdaee304dee 1 parent 3853f31
@kotfic kotfic authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/assembla_spaces.js
View
4 js/assembla_spaces.js
@@ -101,8 +101,8 @@ AssemblaApp.Views.Ticket_Accordion_Element = Backbone.View.extend({
t.date_string = "";
t.date_class = "";
- if( this.model.get("due_date") ){
- var d = new Date(this.model.get("due_date"));
+ if( this.model.getDueDate() ){
+ var d = new Date(this.model.getDueDate());
var current_date = new Date();
t.date_string = ( parseInt(d.getUTCMonth()) + 1 ) + "/" + d.getUTCDate() + "/" + d.getUTCFullYear();
t.date_class = (d < current_date) ? "past_due" : '';
Please sign in to comment.
Something went wrong with that request. Please try again.