From 1897f4b5f6bfdb80db7d9968816721f4ea375ddc Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 21 Jun 2017 13:28:48 -0500 Subject: [PATCH] fixing date format --- hosting/templates/hosting/order_detail.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosting/templates/hosting/order_detail.html b/hosting/templates/hosting/order_detail.html index c212d248..8b37cf03 100644 --- a/hosting/templates/hosting/order_detail.html +++ b/hosting/templates/hosting/order_detail.html @@ -68,7 +68,7 @@

{% trans "Disk space"%} {{vm.disk_size}} GB


-

{% trans "Total"%}

{{vm.price}} CHF

+

{% trans "Total"%}

{{vm.price}} CHF


{% url 'hosting:payment' as payment_url %} @@ -88,6 +88,7 @@ window.onload = function () { var locale_date = new Date(document.getElementById("order-created_at").textContent + ' UTC'); locale_date = moment(locale_date).format("YYYY-MM-DD h:mm:ss a"); + console.log("locale_date"); document.getElementById('order-created_at').innerHTML = locale_date; };