Skip to content

Commit

Permalink
Add weather icons and fix email
Browse files Browse the repository at this point in the history
  • Loading branch information
causefx committed Oct 5, 2017
1 parent fc3b608 commit 82fb56b
Show file tree
Hide file tree
Showing 10 changed files with 2,248 additions and 16 deletions.
10 changes: 6 additions & 4 deletions chatjs.php
Original file line number Diff line number Diff line change
Expand Up @@ -622,10 +622,12 @@ function refresh()
$(function(){
$('.chat-timestamp').each(function(){
var $this = $(this).attr('time');
var dateVal = new Date($this+' UTC');
var dateString = dateVal.toLocaleString();
$(this).text(formatAMPM(dateVal));
//console.log(formatAMPM(dateVal));
if(isMobile === true){
newdate = moment($this+'Z').format('lll');
}else {
newdate = moment(new Date($this+'Z')).format('lll');
}
$(this).text(newdate);
});
});
}
Expand Down
4 changes: 2 additions & 2 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 82fb56b

Please sign in to comment.