• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Post date is not shown

 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It could be some kind of JavaScript problem; do you have JavaScript disabled or somehow partially enabled?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is what Firebug shows when I load coderanch page which has date javascript
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Clear the cache and retry?
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nope, I cleared cache and history, but error is still there.
 
Ranch Hand
Posts: 689
Scala Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sagar,

It is working fine at my side also.... Date show properly and fine...
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!
 
reply
    Bookmark Topic Watch Topic
  • New Topic