Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 7799 by sorin.popescu: Javascript date format http://code.google.com/p/chromium/issues/detail?id=7799
Chrome Version : 1.0.154.48 URLs (if applicable) : Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 3: FAIL Firefox 3: OK IE 7: OK What steps will reproduce the problem? 1. I'm using ExtJS and JQuery, but works also on pure javascript StartCalcDate = new Date().add(Date.DAY, 30); StartCalcDate = StartCalcDate.format('d.m.Y'); What is the expected result? The date in correct (requested) format. What happens instead? Nothing. The page is blank. On IE/FF/Opera works just fine with no error on the page. Please provide any additional information below. Attach a screenshot if possible. The inspect element show no error. The code it's part on a big RIA application build on ExtJS and JQuery. I debug all the code - all ok. I start to take off the code - line by line. When I remove the lines StartCalcDate = new Date().add(Date.DAY, 30); StartCalcDate = StartCalcDate.format('d.m.Y'); the page (window application) started to work just fine. It doesn't work on Safari, too. Can this be done? I really like Chrome and I like the speed that it does to my application -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---