Update the dateFormat for datepicker
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 16 Mar 2018 16:43:51 +0000 (12:43 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 16 Mar 2018 16:43:51 +0000 (12:43 -0400)
Needs to be set.

views/admin/billing/invoices.html

index 2b5c93c..4824be8 100644 (file)
@@ -94,7 +94,9 @@
     jQuery(document).ready(function($) {
 
         // Date Input
-        $('.glm-date-input').datepicker();
+        $('.glm-date-input').datepicker({
+            dateFormat: 'mm/dd/yy'
+        });
 
         var availableAccounts = [
         {foreach $accounts as $m}