mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:13:25 +08:00
FIX: Tooltip should use format option instead of defaulting to "LLL".
This commit is contained in:
@ -27,7 +27,10 @@
|
||||
}
|
||||
|
||||
var previews = options.timezones.split("|").map(function(timezone) {
|
||||
var dateTime = relativeTime.tz(timezone).format("LLL");
|
||||
var dateTime = relativeTime
|
||||
.tz(timezone)
|
||||
.format(options.format || "LLL");
|
||||
|
||||
var timezoneParts = _formatTimezone(timezone);
|
||||
|
||||
if (dateTime.match(/TZ/)) {
|
||||
|
Reference in New Issue
Block a user