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

small changes and fixes

parent d441f9a6
......@@ -48,8 +48,10 @@
.fc-title {
font-weight: bold !important;
margin-right: 6px!important;
}
.fc-extra-info {
display: flex;
align-items: center;
......
......@@ -321,10 +321,15 @@ const convertToMeridienTime = (time) => {
});
let amPM = 'am';
if (timeArr[0] > 12) {
timeArr[0] -= 12;
amPM = 'pm';
if(timeArr[0] === 0 || timeArr[0] === 24){
timeArr[0] = 12;
}else{
if (timeArr[0] > 12) {
timeArr[0] -= 12;
amPM = 'pm';
}
}
if (timeArr[1] === 0) {
timeArr[1] = '';
} 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