mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
fix a fmt issue
This commit is contained in:
parent
9e1f168551
commit
5b461475f3
1 changed files with 2 additions and 2 deletions
|
@ -97,10 +97,10 @@ func NewSchedule(schedule string, adapter string) (*Schedule, error) {
|
|||
return nil, fmt.Errorf("could you initial Schedule rule %s, the time format is not correct!", punycode)
|
||||
}
|
||||
if startHour > endHour {
|
||||
return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time s!", punycode)
|
||||
return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time!", punycode)
|
||||
}
|
||||
if startHour == endHour && startMinute > endMinute {
|
||||
return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time s!", punycode)
|
||||
return nil, fmt.Errorf("could you initial Schedule rule %s, the end time should not be earlier than start time!", punycode)
|
||||
}
|
||||
return &Schedule{
|
||||
Base: &Base{},
|
||||
|
|
Loading…
Add table
Reference in a new issue