Skip to content

Commit fe72880

Browse files
Merge pull request #77 from Protages/master
Update chartData date value
2 parents 457653e + 6f3a017 commit fe72880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drf_api_logger/templates/charts_change_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
const chartData = [
1515
{% for item in analytics %}
16-
{"date": "{{ item.added_on__date }}", "y": {{ item.total }}},
16+
{"date": "{{ item.added_on__date.isoformat }}", "y": {{ item.total }}},
1717
{% endfor %}
1818
];
1919

0 commit comments

Comments
 (0)