Skip to content

Commit 69cf233

Browse files
committed
fix capitalization
1 parent babff54 commit 69cf233

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

packages/app/public/chat.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/public/chat.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/public/chat.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/public/chat.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/app/public/module/chat/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function playAlertSound() {
3636
function formatAMPM(date) {
3737
let hours = date.getHours();
3838
let minutes = date.getMinutes();
39-
const ampm = hours >= 12 ? 'pm' : 'am';
39+
const ampm = hours >= 12 ? 'PM' : 'AM';
4040
hours %= 12;
4141
hours = hours ? hours : 12; // the hour '0' should be '12'
4242

packages/script/src/chat/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function playAlertSound() : mixed {
3232
export function formatAMPM(date : Object) : string {
3333
let hours = date.getHours();
3434
let minutes = date.getMinutes();
35-
const ampm = hours >= 12 ? 'pm' : 'am';
35+
const ampm = hours >= 12 ? 'PM' : 'AM';
3636
hours %= 12;
3737
hours = hours ? hours : 12; // the hour '0' should be '12'
3838
minutes = minutes < 10 ? `0 ${ minutes }` : minutes;

0 commit comments

Comments
 (0)