Papanik / twitterjs

Automatically exported from code.google.com/p/twitterjs
MIT License
0 stars 0 forks source link

Opera Date Bug #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run script in Opera.
2. Watch the date.

What is the expected output? What do you see instead?
The date is "4:51 PM 15 Julth" for example, instead of "4:51 PM Jul 15th".
In Opera variables with day and month switched places.

What version of the product are you using? On what operating system?
latest - 1.12.2. Win XP Pro SP3, Opera 9.64

Please provide any additional information below.

Original issue reported on code.google.com by qbawo...@gmail.com on 22 Jul 2009 at 8:42

GoogleCodeExporter commented 8 years ago
I fixed it by add  "if (browser.opera)" statement to the function 
formatDate(date)
but it's a dirty hack ;)

Original comment by qbawo...@gmail.com on 22 Jul 2009 at 8:46

GoogleCodeExporter commented 8 years ago
Fixed in 1.13.1.  Use of toDateString works differently in Opera, so I've 
removed it and am using getMonth, etc.

Original comment by remysh...@gmail.com on 25 Aug 2009 at 8:35