Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Post date is not shown

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
At home, I'm using Windows Vista and FF 3.0 and I got a weird problem, whenever I browse JR, I can't see any post date.
This is not the problem with the Safari browser and I can't check it on IE.

Is it new forum problem or I'm missing something ?

jr.jpg
[Thumbnail for jr.jpg]
JR date not shown
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It could be some kind of JavaScript problem; do you have JavaScript disabled or somehow partially enabled?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As that page changed in yesterday's deployment, it could be a bug. Do you see the post date on the main forum list page? I attempted to use the same code. It's entirely possible I didn't do it right.

It does work on my machine, but that doesn't help you.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have JavaScript disabled, it should display without the time. Now that you mention an error, I see a straggling "close anchor" that shouldn't be there. I've removed it via a hot deployment.

Can you try again and reply with whether it is still an issue. And if it is, can you check if you have any JavaScript errors noted in Firefox?


 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I disable the JS, its shows a date, but I enable all the available JS option present in the FF,

Here are the current screenshots of FF JS config:

Also, I'm unable to attach/upload any image, I need to login into JR using Safari and then I attach files
jr1.jpg
[Thumbnail for jr1.jpg]
JS option
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Can you try again and reply with whether it is still an issue. And if it is, can you check if you have any JavaScript errors noted in Firefox?
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what Firebug shows when I load coderanch page which has date javascript
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clear the cache and retry?
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope, I cleared cache and history, but error is still there.
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sagar,

It is working fine at my side also.... Date show properly and fine...
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your time zone set too, do you have any other language preferences set on your computer?

Eric
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Voila !!!
I think thats the problem, my Vista machine is set to right time zone, but with regional (Hindi) language preference. I'll update here once I reached the home and checked the system settings.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solved the problem
I just change the "Language Settings" from regional to "English(United States)"

Thanks Eric, now should I conclude that its a problem with FF on Windows Vista when language option is not the English one.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:What is your time zone set too, do you have any other language preferences set on your computer?

Eric


How these two settings (timezone & language preference) were causing dates not be displayed?

Thanks.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ankur rathi wrote:
Eric Pascarello wrote:What is your time zone set too, do you have any other language preferences set on your computer?
How these two settings (timezone & language preference) were causing dates not be displayed?

Not necessarily two things, its either of two (or both). In my case the later one (language preference) is the cause, when I found my time zone is correct (as expected, its set to 'Indian subcontinent' time zone)
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those of you with the problem, can you type

javascript:document.body.innerHTML = new Date().toLocaleTimeString();void(0);

into the address bar of your browser, hit enter, and copy the text and pass it on in this thread.

Thanks
Eric

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:javascript:document.body.innerHTML = new Date().toLocaleTimeString();void(0);

On FF, when I change the language preference to regional one, it doesn't print anything, otherwise No Problem !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic