Skip to content

Commit

Permalink
Fix Date API usage in ticket-info.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalimil committed Apr 12, 2018
1 parent bbf795e commit fef96e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ticket-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function parseMediatorData(data) {
"on_sale_status": item.on_sale_status
},
"dates": {
"sales_start": new Date(item.start_sales).toLocaleFormat(),
"sales_end": new Date(item.end_sales).toLocaleFormat()
"sales_start": new Date(item.start_sales).toLocaleString(),
"sales_end": new Date(item.end_sales).toLocaleString()
}
};
});
Expand Down

0 comments on commit fef96e1

Please sign in to comment.