Skills: Add a distinct marker if the skill is currently learning

This commit is contained in:
Thomas Schwery 2017-02-23 11:38:10 +01:00
parent a74aa529b0
commit bb7be9b62a

12
main.go
View file

@ -223,6 +223,18 @@ func printCharacterSkillQueue(swaggerclient *ESI.App, m *Character) {
continue
}
if startDate.Before(time.Now()) {
fmt.Printf("%s %"+maxSkillFormat+"s %d, %s - ends on %s (%s)\n",
aurora.Green("➠").Bold(),
name,
*skill.FinishedLevel,
formatDuration(skillDuration, 2),
time.Time(skill.FinishDate).Format(defaultDateFormat),
formatDuration(finishDuration, 3),
)
continue
}
fmt.Printf(" %"+maxSkillFormat+"s %d, %s - ends on %s (%s)\n",
name,
*skill.FinishedLevel,