mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Merge pull request #969 from turt2live/travis/12h-ts-collision
Remove space between time and AM/PM
This commit is contained in:
commit
9975514850
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function twelveHourTime(date) {
|
|||
const minutes = pad(date.getMinutes());
|
||||
const ampm = date.getHours() >= 12 ? 'PM' : 'AM';
|
||||
hours = pad(hours ? hours : 12);
|
||||
return `${hours}:${minutes} ${ampm}`;
|
||||
return `${hours}:${minutes}${ampm}`;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in a new issue