update add oredr
This commit is contained in:
@@ -52,7 +52,7 @@ class MenuCategory < ApplicationRecord
|
||||
if from > to
|
||||
h = to_t.hour
|
||||
if h < 12 # before noon
|
||||
if h = 0
|
||||
if h == 0
|
||||
to = 24
|
||||
to = to * 3600 + to_t.min* 60 + to_t.sec
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user