Skip to content

Commit

Permalink
Fixed the UTC issue with the "ago" time on latest moshes.
Browse files Browse the repository at this point in the history
* Also removed the pre border as it looked pap.
  • Loading branch information
jamesronan committed Jun 24, 2013
1 parent c8d01b8 commit 64cd756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ label.error {
font-family: monospace;
color: #222;
background: #fff;
border: none;
outline: none;
}


2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
template: Mosh.template('latest-mosh-item'),
render: function() {
this.model.attributes.age
= moment( this.model.attributes.created ).fromNow();
= moment.utc( this.model.attributes.created ).fromNow();
this.$el.html( this.template( this.model.attributes ) );
return this;
},
Expand Down

0 comments on commit 64cd756

Please sign in to comment.