Added simple error handling case
This commit is contained in:
parent
67f0e9068d
commit
fe12b9e688
2 changed files with 9 additions and 1 deletions
|
|
@ -202,7 +202,7 @@
|
|||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var create_vm_error_message = "Some problem encountered. Please try later.";
|
||||
window.onload = function () {
|
||||
var locale_date = moment.utc(document.getElementById("order-created_at").textContent, 'YYYY-MM-DD HH:mm').toDate();
|
||||
locale_date = moment(locale_date).format("YYYY-MM-DD h:mm:ss a");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue