fix(basic.gblib): NOW keyword is now formatting values with two zeros.
This commit is contained in:
parent
9a4a4f262b
commit
9c1787b632
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ export class DialogKeywords {
|
|||
nowUTC).toLocaleString(this.getContentLocaleWithCulture(contentLocale),
|
||||
{ timeZone: process.env.DEFAULT_TIMEZONE }));
|
||||
|
||||
return now.getHours() + ':' + now.getMinutes();
|
||||
return now.getHours().toString().padStart(2, "0") + ':' + now.getMinutes().toString().padStart(2, "0");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue