Closed (fixed)
Project:
Web File Manager
Version:
5.x-2.5
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2008 at 17:43 UTC
Updated:
11 Feb 2008 at 14:11 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| 1907.JPG | 20.97 KB | gjcomputer |
Comments
Comment #1
robmilne commentedI've updated webfm.js in head to fix this. Will be part of the next release.
Comment #2
gjcomputer commentedman u guys are great@!!!! thanks so much!
Comment #3
culbeda commentedIf 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.
Comment #4
gjcomputer commentedgreat, thanks again, looks like its working now.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.