when browsing files in webfm under Internet Explorer, the dates all seem to show 1907 and 1908 respectively. but when we switch to firefox, it shows 07 and 08, which would be fine if they both just showed 07 and 08 instead of 1907 & 1908. checked the timestamp on the server, it is 2008.

CommentFileSizeAuthor
1907.JPG20.97 KBgjcomputer

Comments

robmilne’s picture

Status: Active » Fixed

I've updated webfm.js in head to fix this. Will be part of the next release.

gjcomputer’s picture

man u guys are great@!!!! thanks so much!

culbeda’s picture

If you want a fix in the meantime, edit your modules/webfm/js/webfm.js file, search for "year" and make the following edit:

Before:
_mon = Webfm.doubleDigit(_mon);

if(_year >= 100)
_year -= 100;

After:
_mon = Webfm.doubleDigit(_mon);

if(_year >= 2000)
_year -= 2000;
if(_year >= 100)
_year -= 100;

That forces the year to go to a 2 digit year. It works great with IE and Firefox. I haven't tried any other browsers as I don't need to support them for my site.

gjcomputer’s picture

great, thanks again, looks like its working now.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.