Skip to content

Commit

Permalink
Also apply fancydates calculation to listdate items (e.x. archives)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwax committed Dec 24, 2018
1 parent 3671c65 commit fcac246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/data/themes/base/assets/js/fancydates.js
Expand Up @@ -3,7 +3,7 @@ function fancydates(fanciness, date_format) {
return;
}

var dates = document.querySelectorAll('.dt-published, .dt-updated');
var dates = document.querySelectorAll('.dt-published, .dt-updated, .listdate');

var l = dates.length;

Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/assets/js/fancydates.min.js

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

0 comments on commit fcac246

Please sign in to comment.