Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9975514

Browse files
authored
Merge pull request #969 from turt2live/travis/12h-ts-collision
Remove space between time and AM/PM
2 parents 0b7f947 + d446410 commit 9975514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function twelveHourTime(date) {
5656
const minutes = pad(date.getMinutes());
5757
const ampm = date.getHours() >= 12 ? 'PM' : 'AM';
5858
hours = pad(hours ? hours : 12);
59-
return `${hours}:${minutes} ${ampm}`;
59+
return `${hours}:${minutes}${ampm}`;
6060
}
6161

6262
module.exports = {

0 commit comments

Comments
 (0)