+
+ 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");
+ document.getElementById('order-created_at').innerHTML = locale_date;
+
+ };
+
+
{%endblock%}
+
diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html
index b52e7fc0..99aab23e 100644
--- a/hosting/templates/hosting/orders.html
+++ b/hosting/templates/hosting/orders.html
@@ -24,7 +24,7 @@
{% for order in orders %}
{{ order.id }} |
- {{ order.created_at }} |
+ {{ order.created_at | date:"M d, Y" }} |
{{ order.price }} CHF |
{% if order.approved %}
{% trans "Approved"%}
diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html
index a4a0c2cf..571d423a 100644
--- a/hosting/templates/hosting/user_keys.html
+++ b/hosting/templates/hosting/user_keys.html
@@ -95,11 +95,9 @@
|