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

Changed issue templates to conform to other projects

parent 45d7a483
Pipeline #939 passed with stages
in 9 minutes
## Expected Behavior ## 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 ## Actual Behavior
Describe briefly what actually occurs in the app given the input described above.
## Steps to Reproduce the Behavior ## Steps to Reproduce the Behavior
## Helpful links A numbered list of steps starting from the earliest possible moment up until the
(if applicable) bug occurs. Something that could be used by other developers to reproduce the bug
that is being reported.
## Summary ## Summary
Include several sentences explaining the issue (rationale, Here you should include two to three sentences explaining the thought process
implementation ideas, mock-ups, etc). Be concise. 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 ## Helpful Links
Give a bulleted list of resources that could help one tackle this Here you should include a bullet point list of links to documentation, stack overflow,
issue. Try to be as helpful as possible. 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 { ...@@ -70,8 +70,9 @@ public class FacilityPresenter {
// Parses the schedule into an HTML string // Parses the schedule into an HTML string.
// Kind of a hacky approach // 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) { public String getSchedule(Facility facility, Calendar now) {
RealmList<OpenTimes> openTimesList = getActiveSchedule(facility, now); RealmList<OpenTimes> openTimesList = getActiveSchedule(facility, now);
int currentDay = (5 + now.get(Calendar.DAY_OF_WEEK)) % 7; int currentDay = (5 + now.get(Calendar.DAY_OF_WEEK)) % 7;
...@@ -94,7 +95,9 @@ public class FacilityPresenter { ...@@ -94,7 +95,9 @@ public class FacilityPresenter {
if(o.getStartDay() <= currentDay && o.getEndDay() >= currentDay) if(o.getStartDay() <= currentDay && o.getEndDay() >= currentDay)
scheduleString.append("<strong>"); 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(parseTo12HourTime(o.getStartTime()));
scheduleString.append(" - "); scheduleString.append(" - ");
scheduleString.append(parseTo12HourTime(o.getEndTime())); 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