Permalink
Browse files

github api reports strange value for updated_at, using pushed_at instead

  • Loading branch information...
garyhodgson committed Jan 22, 2013
1 parent 31f04d0 commit 67567feecca29b3b6705cb5db20cdcb33a347ab4
Showing with 2 additions and 2 deletions.
  1. +2 −2 _layouts/default.html
View
@@ -377,8 +377,8 @@ <h3>STLs</h3>
processDirectories('{{ site.githubiverse.img_dir }}', showImages);
processDirectories('{{ site.githubiverse.stl_dir }}', showSTLs);
- $('#updated').append("&nbsp;"+humaneDate(githubRepo.updated_at));
- $('#updated').attr('title', (new Date(githubRepo.updated_at)).toLocaleString());
+ $('#updated').append("&nbsp;"+humaneDate(githubRepo.pushed_at));
+ $('#updated').attr('title', (new Date(githubRepo.pushed_at)).toLocaleString());
$('#created').append("&nbsp;"+humaneDate(githubRepo.created_at));
$('#created').attr('title', (new Date(githubRepo.created_at)).toLocaleString());

0 comments on commit 67567fe

Please sign in to comment.