Commit 8eb3a281 authored by Robert Hitt's avatar Robert Hitt

Changed issue templates to conform to other projects

parent 45d7a483
Pipeline #939 passed with stages
in 9 minutes
## Expected Behavior
Describe briefly what the app should be doing or, what the expected behavior would
be given a certain input or action.
## Actual Behavior
Describe briefly what actually occurs in the app given the input described above.
## Steps to Reproduce the Behavior
## Helpful links
(if applicable)
A numbered list of steps starting from the earliest possible moment up until the
bug occurs. Something that could be used by other developers to reproduce the bug
that is being reported.
## Summary
Include several sentences explaining the issue (rationale,
implementation ideas, mock-ups, etc). Be concise.
Here you should include two to three sentences explaining the thought process
about the current issue. Perhaps a picture? Some details that could best help someone,
especially someone new, understand the goal of the issue and how they should best
approach the problem.
## Helpful Links
Give a bulleted list of resources that could help one tackle this
issue. Try to be as helpful as possible.
Here you should include a bullet point list of links to documentation, stack overflow,
whatever, that could help guide someone on what it is they are trying to do.
Essentially, a list of links to point them in the right direction.
......@@ -70,8 +70,9 @@ public class FacilityPresenter {
// Parses the schedule into an HTML string
// Kind of a hacky approach
// Parses the schedule into an HTML string.
// Kind of a hacky approach. That being said, this is certainly a lot simpler to test
// than the alternative.
public String getSchedule(Facility facility, Calendar now) {
RealmList<OpenTimes> openTimesList = getActiveSchedule(facility, now);
int currentDay = (5 + now.get(Calendar.DAY_OF_WEEK)) % 7;
......@@ -94,7 +95,9 @@ public class FacilityPresenter {
if(o.getStartDay() <= currentDay && o.getEndDay() >= currentDay)
scheduleString.append("<strong>");
scheduleString.append("<b>" + parseIntToDay(o.getStartDay()) + "</b>: ");
scheduleString.append("<b>");
scheduleString.append(parseIntToDay(o.getStartDay()));
scheduleString.append("</b>: ");
scheduleString.append(parseTo12HourTime(o.getStartTime()));
scheduleString.append(" - ");
scheduleString.append(parseTo12HourTime(o.getEndTime()));
......
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