Compare commits

..

No commits in common. "3dc625d17667a010b0edfd18a918ac70bcdcd982" and "d0db3de7cf30ad83900f10d1a0047586e2ab9929" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View file

@ -12,7 +12,5 @@
"c_help_opt1_desc": "Command wanted in depth.", "c_help_opt1_desc": "Command wanted in depth.",
"c_help1": "List of categories and associated commands", "c_help1": "List of categories and associated commands",
"c_help2": "`/help <command>` to get more information about a command.", "c_help2": "`/help <command>` to get more information about a command.",
"c_help3": "Can't find :", "c_help3": "Can't find :"
"u_time_at": "at"
} }

View file

@ -1,16 +1,16 @@
/** /**
* Parsed string adapted with TZ (locales) and format for the specified lang. * Parsed string adapted with TZ (locales) and format for the specified lang.
* @param tz Lang * @param lang Lang
* @param locale Locales * @param locale Locales
* @param date Date * @param date Date
* @returns String * @returns String
*/ */
export const showDate = ( export const showDate = (
tz: string, lang: string,
locale: Map<string, unknown>, locale: Map<string, unknown>,
date: Date date: Date
) => { ) => {
return date.toLocaleString(tz).replace(' ', ` ${ return date.toLocaleString(lang).replace(' ', ` ${
locale.get('u_time_at') locale.get('u_time_at')
} `); } `);
}; };