| Index: ui/file_manager/file_manager/foreground/js/ui/file_table.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
|
| index 263ba49bdf20f840e78f45828fc66449c0943b06..13491d52e26f0cae14666b533991afffd53d1520 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
|
| @@ -422,10 +422,10 @@ FileTable.prototype.fitColumn = function(index) {
|
| * @param {boolean} use12hourClock True if 12 hours clock, False if 24 hours.
|
| */
|
| FileTable.prototype.setDateTimeFormat = function(use12hourClock) {
|
| - this.timeFormatter_ = Intl.DateTimeFormat(
|
| + this.timeFormatter_ = new Intl.DateTimeFormat(
|
| [] /* default locale */,
|
| {hour: 'numeric', minute: 'numeric', hour12: use12hourClock});
|
| - this.dateFormatter_ = Intl.DateTimeFormat(
|
| + this.dateFormatter_ = new Intl.DateTimeFormat(
|
| [] /* default locale */,
|
| {
|
| year: 'numeric', month: 'short', day: 'numeric',
|
|
|