Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error with date formatting on Safari #4

Open
GoogleCodeExporter opened this issue Apr 24, 2015 · 0 comments
Open

Fatal error with date formatting on Safari #4

GoogleCodeExporter opened this issue Apr 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Include date-functions.js in your script
2. Run the following
var test = new Date();
test.dateFormat("j M Y");

What is the expected output? What do you see instead?
Formatting to run with no errors.  Instead Safari conks out with the following 
error:
TypeError: Result of expression 'Date.monthNames[this.getMonth()]' [undefined] 
is not an object.

What version of the product are you using? On what operating system?
Safari 5.0.3
Mac OS X 10.6.5

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 14 Jan 2011 at 4:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant