Parent5446 / web-bash

A functional terminal in your browser
GNU General Public License v3.0
5 stars 0 forks source link

date command without arguments duplicates day of the week #88

Closed nbevacqua closed 11 years ago

nbevacqua commented 11 years ago

this is the output I get in firefox running on linux:

root@ubuntu /root $ date Sun Sun 14 Jul 2013 11:13:46 PM EDT

Note that "Sun" is repeated twice

Parent5446 commented 11 years ago

Goddamn cross-browser support.

nbevacqua commented 11 years ago

time.toLocalString() in linux firefox includes the date of week part so in default case, there is no need for "%a %c" only "%c"

or at least its this way in my browser. not sure about others