I fixed that with the following replace(/[^ -~]/g,'')
as in
(new Date("7/15/2014").toLocaleString().replace(/[^ -~]/g,'')
More Related Contents:
- Get difference between 2 dates in JavaScript? [duplicate]
- Convert a Unix timestamp to time in JavaScript
- How to add 30 minutes to a JavaScript Date object?
- Difference between two dates in years, months, days in JavaScript
- How to subtract days from a plain Date?
- Convert seconds to HH-MM-SS with JavaScript?
- Why does the month argument range from 0 to 11 in JavaScript’s Date constructor?
- Parse date without timezone javascript
- Date constructor returns NaN in IE, but works in Firefox and Chrome
- How to convert date to timestamp?
- What is the best way to determine the number of days in a month with JavaScript?
- getMonth in javascript gives previous month
- How to parse a time into a Date object from user input in JavaScript?
- How do I pre-populate a jQuery Datepicker textbox with today’s date?
- How to convert an ISO date to the date format yyyy-mm-dd?
- different result for yyyy-mm-dd and yyyy/mm/dd in javascript when passed to “new Date” [duplicate]
- How to ignore user’s time zone and force Date() use specific time zone
- Date parsing in javascript is different between safari and chrome
- Set date in input type date
- Finding date by subtracting X number of days from a particular date in Javascript
- Javascript Date: next month
- Convert Date from one format to another format in JavaScript
- How to get 2 digit year w/ Javascript? [duplicate]
- Check if date is in the past Javascript
- add/subtract business days in Javascript
- Javascript JSON Date parse in IE7/IE8 returns NaN
- How to detect IE 11 with javascript in Asp.net
- Javascript Date Plus 2 Weeks (14 days)
- How to sort an array of objects by date?
- Making a live clock in javascript