Commit 149dffba authored by Mattias J Duffy's avatar Mattias J Duffy

small changes and fixes

parent d441f9a6
...@@ -48,8 +48,10 @@ ...@@ -48,8 +48,10 @@
.fc-title { .fc-title {
font-weight: bold !important; font-weight: bold !important;
margin-right: 6px!important;
} }
.fc-extra-info { .fc-extra-info {
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -321,10 +321,15 @@ const convertToMeridienTime = (time) => { ...@@ -321,10 +321,15 @@ const convertToMeridienTime = (time) => {
}); });
let amPM = 'am'; let amPM = 'am';
if (timeArr[0] > 12) { if(timeArr[0] === 0 || timeArr[0] === 24){
timeArr[0] -= 12; timeArr[0] = 12;
amPM = 'pm'; }else{
if (timeArr[0] > 12) {
timeArr[0] -= 12;
amPM = 'pm';
}
} }
if (timeArr[1] === 0) { if (timeArr[1] === 0) {
timeArr[1] = ''; timeArr[1] = '';
} else { } else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment