-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to use it as full day? 24 hours? It's not working when you set it as 24 hours. #179
Comments
We have something similar to this in our application. I can share our implementation details for you. |
Nice! That would be awesome!
…--
Joshua F. Rountree | UX Developer
The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
On Mar 11, 2018, 2:50 PM -0400, Will Raxworthy ***@***.***>, wrote:
We have something similar to this in our application. I can share our implementation details for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
here's what we have: {{#as-calendar
title="Calendar"
dayStartingTime="00:00"
dayEndingTime="24:00"
occurrences=occurrences
startFromDate=true
timeSlotHeight="25"
timeSlotDuration="0:30"
onAddOccurrence=(action "calendarAddTimeslot") as |occurrence options|}}
{{!-- some other stuff --}}
{{/as-calendar}} |
Ah yeah. We had that as well. If i remember correctly, the reason it's happening is because moment treats 00:00 as both the current day and the day before. We never really found a way to tackle it. We tried adding a second to the time. Would love to make the implementation smarter or use something that doesn't treat 00:00 as two days. |
So maybe we need to do some hackiness to hide the duped instance for now I suppose. I’m sure I’ll figure out a way to rig it up soon haha.
Thanks!
…--
Joshua F. Rountree | UX Developer
The E.W. Scripps Company
312 Walnut Street, Suite 2800, Floor 29th, Office 29W109
Cincinnati, Ohio 45202-4024
(513) 977-3840 (office, M-F, 7a-4p)
(513) 827-7936 (mobile)
On Mar 12, 2018, 10:14 AM -0400, Will Raxworthy ***@***.***>, wrote:
Ah yeah. We had that as well.
If i remember correctly, the reason it's happening is because moment treats 00:00 as both the current day and the day before. We never really found a way to tackle it. We tried adding a second to the time. Would love to make the implementation smarter or use something that doesn't treat 00:00 as two days.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
We ended up not worrying about it because the majority of our scheduling is during work hours. Let me know if you figure something out though and we can try to incorporate it in! |
00:00:00 to 23:59:59
Ideally, my situation is that I need to be able to schedule 24/7.
This addon is great, I might have to just add it if not.
Anybody have any ideas of how I could accomplish this?
The text was updated successfully, but these errors were encountered: