Page 1 of 1

Russian/Ukrainian date format

Posted: Thu Feb 23, 2012 5:49 pm
by Wild Rat
I add "dd.mm.yyyy" date format:
New date format
New date format
Clipboard-3.jpg (21.47 KiB) Viewed 5056 times
I moddyfied this files:

time.sh
login.sh
overview.sh
www.zip
Modyfied files
(5.75 KiB) Downloaded 507 times

Re: Russian/Ukrainian date format

Posted: Tue Feb 28, 2012 5:33 pm
by Eric
I appreciate the contribution, but your patched files are not sufficient to add the date format.

In addition to time.sh, login.sh and overview.sh you'll need to edit some javascript in basic.js, webmon.js, ddns.js and maybe time.js (need to look closer to know whether modification to shell script is sufficient for time section). grep for "dateformat" in those files and you should see where the parameter is being referenced.

Re: Russian/Ukrainian date format

Posted: Tue Feb 28, 2012 8:31 pm
by Wild Rat
Eric wrote:grep for "dateformat" in those files and you should see where the parameter is being referenced.
Done:
www.zip
(26.94 KiB) Downloaded 511 times

Re: Russian/Ukrainian date format

Posted: Wed Feb 29, 2012 2:03 pm
by Eric
Should be added to the main repository now, thanks! This will be included in the next 1.5.x release.

I had to re-do the edits to the javascript, since you edited the compiled/minified javascript, not the original source. The javascript is run through uglifyjs to minimize flash space on the router, but I don't store the source that way. In the future, please clone the source on github (git://github.com/ericpaulbishop/gargoyle.git), and edit that.