aspose file tools*
The moose likes Ranch Office and the fly likes Post date is not shown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Post date is not shown" Watch "Post date is not shown" New topic
Author

Post date is not shown

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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 ?




[Thumbnail for jr.jpg]


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

It could be some kind of JavaScript problem; do you have JavaScript disabled or somehow partially enabled?


[Jess in Action][AskingGoodQuestions]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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



[Thumbnail for jr1.jpg]

Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

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

Joined: Feb 19, 2008
Posts: 2902
    
    1

This is what Firebug shows when I load coderanch page which has date javascript
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Clear the cache and retry?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Nope, I cleared cache and history, but error is still there.
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 689

Hi Sagar,

It is working fine at my side also.... Date show properly and fine...


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What is your time zone set too, do you have any other language preferences set on your computer?

Eric
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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

Joined: Oct 11, 2004
Posts: 3830
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Feb 19, 2008
Posts: 2902
    
    1

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 !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Post date is not shown