@Zorig wrote:
Hi guys, i got this object from backend API. Thing is when i edit timetable it sends this way and response is kind a same as it is. So for mobile app it shows timetable start from sunday. What i want is week starts from Monday. How can i do it in ember way.
"timetable": { "sun": { "open": 480, "close": 1320 }, "sat": { "close": 120, "open": 600 }, "fri": { "close": 120, "open": 480 }, "thu": { "close": 120, "open": 480 }, "wed": { "open": 480, "close": 120 }, "tue": { "close": 0, "open": 480 }, "mon": { "close": 0, "open": 480 }
So now i have to sort this object as
Mon, Tue, Wed, Thu, Fri, Sat, Sun
Posts: 1
Participants: 1