--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/7a861bde-d544-4b9e-a9ac-3daf5d074b9a%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/3ItOYS9DJx4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOAJa%3DCB92Hsn83JjXw-HwBPFTuqPFnJu-WR%2BU8rstbUA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAKgGm2iHq7u8ETQQUQ4tVFcY6_Dmn2P%3DVxaEkAk%3DBvpXy2txZQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFL5w3UhrAeybM%2ByJ-RfHY2qcLBd_P-LtY81He5UH0Wvy9--jw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOAJa%3DCB92Hsn83JjXw-HwBPFTuqPFnJu-WR%2BU8rstbUA%40mail.gmail.com.
Wow that's fast.Previously my rendered credit cards journal looked like this (assuming statement date is 20th):2016-03-19 "Shopping" -50.00 EUR2016-03-19 "Shopping" -100.00 EUR2016-03-20 document "/path/to/statement.pdf"2016-03-20 "Shopping" -200.00 EUR2016-03-20 "Shopping" -150.00 EUR2016-03-21 balance -1000.00 EURThere were transactions between "document" and "balance", which was weird. Now, "document" entries are at the end of the day, so much better now. Great!
But I am still a little bit confused at the timing of "balance" entries. They are defined to happen at the beginning of the day. But for merchants (say, a restaurant) in the real world, balance assertions usually occur at the end of day when they have stopped accepting new customers (no new transactions would happen on that day any more). For personal use, I do balance assertions for my Assets accounts on the last day of every month, it's a little bit weird to use the date 2016-04-01 when doing balance assertions on 2016-03-31 for transactions occurred in 2016-03. And for credit cards, it's weird that "balance" and "document" are not on the same date, since "balance" is determined on the same day when statement comes out.
I know the timing of "balance" entries were defined long long ago in design doc, and changing it abruptly would break almost everyone's ledger file, but I still hope there would be an "option" entry for users to choose, whether balance assertions should occur at the end of a day, or at the beginning of a day.
Or, a new syntax just popped up in my head when writing this mail:2016-03-31 balance> Assets:Cash 100.00 EUR2016-04-01 balance< Assets:Bank 200.00 EURUsers could add suffix ">" or "<" to "balance" keyword, making balance assertions occur at the end or beginning of that date, respectively ("balance" keywords without suffixes still work).
Since a Beancount user would typically choose either "beginning-of-day-assertion-style" or "end-of-day-assertion-style", and not mix these two styles, a new "option" would suffice, introducing a new syntax may not be necessary anyway...
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CALkVjQa%2B07qw__KMgOZi_-RvdXAhEKOFoL%3DytTHkay3TiNpitQ%40mail.gmail.com.
2016-03-31 balance_end Assets:Cash 100.00 EUR2016-03-31 balance_eod Assets:Cash 100.00 EUR2016-03-31 ebalance Assets:Cash 100.00 EUR2016-03-31 eod_balance Assets:Cash 100.00 EUR2016-03-31 end_balance Assets:Cash 100.00 EUR2016-03-31 closing_balance Assets:Cash 100.00 EUR2016-03-31 endance Assets:Cash 100.00 EURI don't really like any of those.The least bad is the first IMO.The last one aligns (same num of chars).I wish for a better name.
Since a Beancount user would typically choose either "beginning-of-day-assertion-style" or "end-of-day-assertion-style", and not mix these two styles, a new "option" would suffice, introducing a new syntax may not be necessary anyway...Definitely not a good idea to have the same input infer different meanings, because then sharing bits of code on the list or in docs requires knowing how the option is set. I try to avoid this so far. I prefer to add a new keyword.
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CALkVjQbGAgJiGFb0aT9rUUYtiWOYOWvJGUgKqgGsuSE7%3DrodCQ%40mail.gmail.com.
I don't understand what issue this patch is solving. I have read the
mailing list thread, but I am still confused.
2019-10-27 balance ending Assets:Foo 0.00 USD
2019-10-28 balance beginning Assets:Foo 0.00 USD
or using `end` and `begin` instead, I don't know which one looks better
in this case (as a non-native English speaker I'm always confused).
Keeping `ending` to be the default, the current compact syntax would
still work. I thing the changes to the parser to support this syntax
would also be minimal.