Added until and indefinite until with configuration#96
Added until and indefinite until with configuration#96emilkarl wants to merge 21 commits intogregschmit:masterfrom
Conversation
|
Nice 👏 - This functionality definitely needs to be incorporated. |
|
Someone should really clean upp the styles as well so it can easily be overridden. I will try to do it some day. |
|
Add possibility to disable outerCancel |
|
Added ability to set the beforeShowDay function on the datepicker |
|
@emilkarl thanks a lot! |
|
The rule summary text/feature is malfunctioning. Note, in the image below, that the day and month are mixed up. temporary fix: I dug around in the code for a bit and started to understand and began to devise a fix when discovered that I could address the issue in user land with the following in RecurringSelect.date_format = '%m/%d/%Y'This patches the issue, but does not address the root cause. I am hoping that someone more familiar with the gem can determine which of IceCube, RecurringSelect, and the date picker ought to dictate the format of the The default RecurringSelect.date_format is Please note: |
|
Interesting @briantigerchow, might have something to do the datepicker_format. I haven't seen this before but as you can see the default datepicker_format is Y-m-d here: https://github.com/GetJobber/recurring_select/pull/96/files#diff-259648c56ceac4822cff1057c8c1ee9eL5 I dont have time to look at it right away. |
the month and day get mixed up because of the way that Time.zone.parse interprets the input string
|
I think this can be fixed in two steps.
Together, these two changes fix the date-month-mixed-up issue for me. |
* clear out until in the current_rule model * clear out string to force a refresh
Patch 1 with until
|
Not sure if this is merged or not. But is there a way to add until field now? |
|
Wanna close this? :D |

Based on #61 PR and @findchris work I forked and added option to include until and indefinite until.
I also updated so it works with the latest master from GetJobber.