mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
Show relative time for latest build
This commit is contained in:
parent
2416ef38e5
commit
8a478be7d0
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@
|
||||||
</style>
|
</style>
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
|
||||||
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
|
<script src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
|
||||||
|
<script src="http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.0.0/moment.min.js"></script>
|
||||||
<script src="highlight.pack.js"></script>
|
<script src="highlight.pack.js"></script>
|
||||||
<script>hljs.initHighlightingOnLoad();</script>
|
<script>hljs.initHighlightingOnLoad();</script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<div class="alert alert-success">
|
<div class="alert alert-success">
|
||||||
<strong>Latest build:</strong> <em><script language="javascript">document.write(new Date(<%= Time.now.to_i * 1000 %>).toLocaleString());</script></em>
|
<strong>Latest build:</strong> <em><script language="javascript">document.write(moment(new Date(<%= Time.now.to_i * 1000 %>)).fromNow());</script></em>
|
||||||
</div>
|
</div>
|
||||||
<a class="twitter-timeline" data-dnt="true" data-related="milkypostman,sanityinc" href="https://twitter.com/melpa_emacs" data-widget-id="311867756586864640">Tweets by @melpa_emacs</a>
|
<a class="twitter-timeline" data-dnt="true" data-related="milkypostman,sanityinc" href="https://twitter.com/melpa_emacs" data-widget-id="311867756586864640">Tweets by @melpa_emacs</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue