Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
whats-open-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
whats-open-web
Commits
149dffba
Commit
149dffba
authored
Jan 12, 2018
by
Mattias J Duffy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small changes and fixes
parent
d441f9a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
src/styles/containers/facilityCard.scss
src/styles/containers/facilityCard.scss
+2
-0
src/utils/facilityUtils.js
src/utils/facilityUtils.js
+8
-3
No files found.
src/styles/containers/facilityCard.scss
View file @
149dffba
...
...
@@ -48,8 +48,10 @@
.fc-title
{
font-weight
:
bold
!
important
;
margin-right
:
6px
!
important
;
}
.fc-extra-info
{
display
:
flex
;
align-items
:
center
;
...
...
src/utils/facilityUtils.js
View file @
149dffba
...
...
@@ -321,10 +321,15 @@ const convertToMeridienTime = (time) => {
});
let
amPM
=
'
am
'
;
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
{
...
...
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