-
Notifications
You must be signed in to change notification settings - Fork 342
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
forwardDate: true
and day of the week happens to be today?
#484
Comments
Hello @bytrangle. Sorry for my slow reply. Without the time input mentioned, "Wednesday" is parsed as "Wednesday at 12pm" (midday). So:
If the time doesn't matter, I suggest using the beginning of the day as your reference instead of now. |
At 9pm on a Wednesday I wrote out @wanasit Is this expected? It seems incorrect and it seems not in line with your explanation above, but maybe I'm misinterpreting? |
Yes. It'd work like that currently. It would not say it's "correct", but the In your example, "Wednesday at 10pm" is already later than the reference (Wednesday at 9pm), thus it does not assume it would need to add another week. I'll see if this could be improve by applying forwardDate on date and time separately. |
@wanasit have any ideas for fixing this occurred to you? Not looking for an implementation of course, but I wonder if your subconscious has floated you any good ideas for resolving this edge case? |
I have not time to change and test it, but I am thinking rather than rely on ForwardDateRefiner to make the change, |
It's a bit hard to explain in the title, but what happens if:
forwardDate
is set to trueThen the result will be the next Wednesday, 7 days from now, it seems. Is there any way to interpret it as Wednesday of today? The way
forwardDate: true
works in other scenarios is good for me.The text was updated successfully, but these errors were encountered: