On Mon, 2011-08-08 at 13:38 +0300, Muayyad AlSadi wrote:
> how can we debug this bug
> https://bugzilla.redhat.com/show_bug.cgi?id=728889
>
> I tried the following js in firebug/firefox
>
> var d=new Date;
> alert(Date.toLocaleFormat());
> alert(Date.toLocaleFormat("%Y-%m-%d"));
>
> we need to test
>
> Shell.util_format_date(format, this.getTime());
>
> I tried gjs and js command lines but I was unable to import Shell
You can evaluate that in the shell, start "Looking Glass" with:
Alt+F2, "lg", Return
Then you can e.g. run:
Shell.util_format_date("%Z", new Date().getTime());
And see what it returns. Press Escape to leave LG.
HTH,
Nils
--
Nils Philippsen "Those who would give up Essential Liberty to purchase
Red Hat a little Temporary Safety, deserve neither Liberty
[email protected] nor Safety." -- Benjamin Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel