Skip to content

Commit

Permalink
Update schedule.yml - актуализировал расписание на 17.05.21
Browse files Browse the repository at this point in the history
Update route.go - убрал символ "-", т.к. он смотрится не очень в мобильной версии
  • Loading branch information
Alexander Amezhenko committed May 15, 2021
1 parent 19294bf commit d146717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/konturtransferbot/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ WorkDayRouteFromOffice:
- 17:10
- 17:40
- 18:10 УрФУ, ВИЗ
- 18:15 Автовокзал
- 18:15 Автовокзал, УрФУ
- 18:20 дежурный, Академ, Ботаника
- 18:25 УрФУ
- 18:40 дежурный, УрФУ
- 19:00 Автовокзал
- 19:20 УрФУ, Академ
Expand Down
2 changes: 1 addition & 1 deletion route.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (r Route) StringWithDivider(now time.Time) string {
var result string
for i := range r {
if i > 0 && (r[i].After(nowReset) || r[i].Equal(nowReset)) && r[i-1].Before(nowReset) {
result += fmt.Sprintf("——— сейчас %s ———\n", nowReset.Format("15:04"))
result += fmt.Sprintf("——— сейчас %s ———\n", nowReset.Format("15:04"))
}
result += r[i].Format("15:04")
if r[i].Comment != "" {
Expand Down

0 comments on commit d146717

Please sign in to comment.