Fix #276, Limit line width of cookies and show time in current locale