Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-07 17:33:51 -05:00
parent 40f4b984ef
commit 97b28fdf7f
+3 -4
View File
@@ -1,7 +1,6 @@
<!-- Alabaster (krTheme++) Hacks -->
<aside id="python27">
Python 3, the new best practice, is here to stay.
Python 2 will retire in only <time></time> months!
<a href="https://www.kennethreitz.org/requests3"><strong>Requests 3.0</strong> is underway, and your financial help is appreciated!</a>
</aside>
<!-- Python 2 Death Clock™ -->
@@ -20,14 +19,14 @@
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script>
var death = new Date('2020-04-12');
var diff = moment.duration(death - moment());
document.querySelector('#python27 time').innerText = (diff.years() * 12) + diff.months();
</script>
</script> -->
<!-- CSS Adjustments (I'm very picky.) -->