From ce847f4afd0a2e1abc94c20a245ab12b6578b09f Mon Sep 17 00:00:00 2001 From: banteg <4562643+banteg@users.noreply.github.com> Date: Thu, 14 Sep 2023 00:21:37 +0400 Subject: [PATCH] fix: use date format --- src/ExecuteTimeWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ExecuteTimeWidget.ts b/src/ExecuteTimeWidget.ts index 66145bb..d17d254 100644 --- a/src/ExecuteTimeWidget.ts +++ b/src/ExecuteTimeWidget.ts @@ -279,7 +279,7 @@ export default class ExecuteTimeWidget extends Widget { )} in ${executionTime}`; msg = 'Last executed'; if (this._settings.showDate) { - msg += ` at ${getTimeString(endTime)}`; + msg += ` at ${getTimeString(endTime, this._settings.dateFormat)}`; } msg += ` in ${executionTime}`; }