Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hunter T Jozwiak
whats-open-web
Commits
149dffba
Commit
149dffba
authored
Jan 12, 2018
by
Mattias J Duffy
Browse files
small changes and fixes
parent
d441f9a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/styles/containers/facilityCard.scss
View file @
149dffba
...
@@ -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
;
...
...
src/utils/facilityUtils.js
View file @
149dffba
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment