if (dojo.isString(time)) { return time; } return dojo.date.locale.format(time, {selector:"time", formatLength:"short"});