Skip to content

Commit

Permalink
Fix incomplete Time.equals
Browse files Browse the repository at this point in the history
Bug: 65847
  • Loading branch information
thiemowmde committed Jul 14, 2014
1 parent 60f1875 commit c4fb292
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/time/time.Time.js
Expand Up @@ -232,6 +232,10 @@ time.Time = ( function( time, $ ) {
}

return this.precision() === otherTime.precision()
&& this.calendar() === otherTime.calendar()
&& this.after() === otherTime.after()
&& this.before() === otherTime.before()
&& this.utcoffset() === otherTime.utcoffset()
&& this.iso8601() === otherTime.iso8601();
};

Expand Down

0 comments on commit c4fb292

Please sign in to comment.