Discussion:
why must periodic transactions' period expressions begin on an interval boundary ?
Simon Michael
2018-06-18 23:37:27 UTC
Permalink
http://hledger.org/manual.html#periodic-transactions:
"There is an additional constraint on the period expression: the start date must fall on a natural boundary of the interval. Eg monthly from 2018/1/1 is valid, but monthly from 2018/1/15 is not."

Would anyone remember why we added this constraint ? I find it annoying and would like to remove it.
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dmitry Astapov
2018-06-20 14:29:08 UTC
Permalink
I think it was because nobody came up with a compelling semantic at the
time. If there is a clear semantic, then it is best to drop this constraint
as it is purely artificial.
Post by Simon Michael
"There is an additional constraint on the period expression: the start
date must fall on a natural boundary of the interval. Eg monthly from
2018/1/1 is valid, but monthly from 2018/1/15 is not."
Would anyone remember why we added this constraint ? I find it annoying
and would like to remove it.
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
D. Astapov
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Simon Michael
2018-06-20 15:27:14 UTC
Permalink
Thanks. I don't remember what problem it caused so I'll try removing it for simplicity.
I think it was because nobody came up with a compelling semantic at the time. If there is a clear semantic, then it is best to drop this constraint as it is purely artificial.
http://hledger.org/manual.html#periodic-transactions: <http://hledger.org/manual.html#periodic-transactions:>"There is an additional constraint on the period expression: the start date must fall on a natural boundary of the interval. Eg monthly from 2018/1/1 is valid, but monthly from 2018/1/15 is not."
Would anyone remember why we added this constraint ? I find it annoying and would like to remove it.
--
You received this message because you are subscribed to the Google Groups "hledger" group.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
D. Astapov
--
You received this message because you are subscribed to the Google Groups "hledger" group.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...