No need to convert time since pretty_date takes care of that
This commit is contained in:
@@ -58,15 +58,3 @@
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
| {% endfor %}
|
| {% endfor %}
|
||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
|
|
||||||
| {% block footer_scripts %}
|
|
||||||
| {% if current_user.is_authenticated %}
|
|
||||||
script.
|
|
||||||
$('#task-list .task-list-item span.due_date').each(function(){
|
|
||||||
var current = $(this).text();
|
|
||||||
if (current){
|
|
||||||
$(this).html(moment().to(current));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
| {% endif %}
|
|
||||||
| {% endblock %}
|
|
||||||
|
Reference in New Issue
Block a user