From c965b36167a04a0c9387f0d98ebcded352c9259e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=9D=E6=84=8F?= Date: Mon, 11 Mar 2024 00:02:23 +0800 Subject: [PATCH] Destroyed VersionLog V1.1.15 (markdown) --- VersionLog-V1.1.15.md | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 VersionLog-V1.1.15.md diff --git a/VersionLog-V1.1.15.md b/VersionLog-V1.1.15.md deleted file mode 100644 index 4b2c803..0000000 --- a/VersionLog-V1.1.15.md +++ /dev/null @@ -1,32 +0,0 @@ -### 新增事件记录 - -关于beancount中的事件(Event),官方文档的描述如下: -> How to use these is best explained by providing examples: -通过提供示例可以最好地解释如何使用它们: -> - **Location**: You can use events for tracking the city or country you’re in. This is sensible usage within a ledger because the nature of your expenses are heavily correlated to where you are. It’s convenient: if you use Beancount regularly, it is very little effort to add this bit of information to your file. I usually have a “cash daybook” section where I put miscellaneous cash expenses, and that’s where I enter those directives. -位置:您可以使用事件来跟踪您所在的城市或国家/地区。这是分类账中的合理用法,因为您的支出性质与您所在的位置密切相关。这很方便:如果您经常使用 Beancount,那么将这一点信息添加到您的文件中非常容易。我通常有一个“现金日记本”部分,用于记录各种现金支出,这就是我输入这些指令的地方。 -> - **Address**: If you move around a lot, it’s useful to keep a record of your past home addresses. This is sometimes requested on government forms for immigration. The Green Card application process in the US, for instance, -地址:如果您经常搬家,记录您过去的家庭住址会很有用。有时政府移民表格上会要求这样做。以美国绿卡申请流程为例, -> - **Employer**: You can record your date of employment and departure for each job this way. Then you can count the number of days you worked there. -雇主:您可以通过这种方式记录您每份工作的受雇日期和离职日期。然后你可以计算你在那里工作的天数。 -> - **Trading window**: If you’re an employee of a public company, you can record the dates that you’re allowed to trade its stock. This can then be used to ensure you did not trade that stock when the window is closed. -交易窗口:如果您是上市公司的员工,您可以记录允许您交易其股票的日期。这可以用来确保您在窗口关闭时没有交易该股票。 - -[https://beancount.github.io/docs/beancount_language_syntax.html#events](https://beancount.github.io/docs/beancount_language_syntax.html#events) - -其设计初衷,更多是备忘录的目的,无法和账户进行联动。在 V1.1.15版本中,你可以在顶部的菜单栏找到“事件”点击进入。**之前顶部的退出菜单栏移动至底部**。 - -![image.png](https://cdn.nlark.com/yuque/0/2024/png/12919324/1710083720044-9d4d910b-b958-41bd-8dd7-aadc9a4fab51.png#averageHue=%23fefefe&clientId=u6bde8289-e36a-4&from=paste&height=404&id=u58a59077&originHeight=404&originWidth=1886&originalType=binary&ratio=1&rotation=0&showTitle=false&size=21135&status=done&style=none&taskId=u5b79f08a-589f-4162-9d22-1b1559af6bc&title=&width=1886) -其中,事件名称用于分类,事件内容则用来进行描述。其在 beancount 中对应的语法为: -``` -YYYY-MM-DD event Name Value -``` -记录的事件会以下图的方式展示,目前程序会自动对时间日期排序,默认按时间倒序排列。事件类型的排序规则则是类型名称正序。 -![image.png](https://cdn.nlark.com/yuque/0/2024/png/12919324/1710083702402-f7054000-ac5d-4eb6-90a7-66ae7ab27c10.png#averageHue=%23fefdfd&clientId=u6bde8289-e36a-4&from=paste&height=297&id=NaRs4&originHeight=297&originWidth=899&originalType=binary&ratio=1&rotation=0&showTitle=false&size=14257&status=done&style=none&taskId=ud43e7d48-ad02-4df9-9414-689e05bf9d1&title=&width=899) -对于事件的删除,目前仍只能通过编辑源文件的方式,在账户页面,点击编辑源文件,选择 `event/events.bean`手动删除对应内容。 -![image.png](https://cdn.nlark.com/yuque/0/2024/png/12919324/1710084240646-81f7c0f5-2efc-4fe9-b7f0-40b0c62fd8ba.png#averageHue=%23fdfcfb&clientId=u6bde8289-e36a-4&from=paste&height=296&id=ud80aa0d2&originHeight=296&originWidth=969&originalType=binary&ratio=1&rotation=0&showTitle=false&size=22766&status=done&style=none&taskId=u0ddcdc42-8f3c-46c9-8989-fc8968034dd&title=&width=969) -### Bug修复 - -- 首页选择年或全部是,查询接口依然显示当月的问题。 -- 关闭又打开的账户无法显示。[#PR70](https://github.com/BaoXuebin/beancount-gs/pull/70) @[RenLangMan](https://github.com/RenLangMan) -- 多币种账目兼容Fava。[#ISSUE66](https://github.com/BaoXuebin/beancount-gs/issues/66)