Open roskoN opened 2 years ago
Hi,
I very much understand your confusion. latent_time=False
suggests that this would not apply any latent resolutions.
However, I am afraid that is not how it is meant and implemented. From the docs:
:param latent_time: if True, resolve expressions that contain only a time
(e.g. 8:00 pm) to be the next matching time after
reference time *ts*
This parameter only applies to expressions that contain only a time
- that is maybe why we called it latent_time
. Our use case when building this was simply that we did not want "pure time" expressions to be grounded to some (in that case arbitrary) date.
Description
Setting
latent_time=False
still uses latent rules (e.g. "ruleLatentDOY"), and consequently delivers a DateTime relative to the current one. I would expect that none of the latent rules are considered.What I Did
I run the following command:
which delivers the following output:
P.S. Thank you for your great work!