[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/csv2ledger f234878bd2 180/190: Update to the README
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/csv2ledger f234878bd2 180/190: Update to the README |
Date: |
Sun, 2 Jun 2024 15:59:56 -0400 (EDT) |
branch: elpa/csv2ledger
commit f234878bd2e6a0ca0beeacb386162225ce352041
Author: Joost Kremers <joostkremers@fastmail.com>
Commit: Joost Kremers <joostkremers@fastmail.com>
Update to the README
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b5db2cc691..1387fe55c0 100644
--- a/README.md
+++ b/README.md
@@ -147,7 +147,7 @@ Sometimes, it is useful or even necessary to modify the
value of some field extr
### Modifying individual fields ###
-First, there is the option `c2l-field-modify-functions`. You can use this
option to adjust the value of particular fields. As an example, my CSV files
provide the date in the format `DD.MM.YYYY`, but ledger expects them to be in
the format `YYYY-MM-DD`. To remedy this, `csv2ledger` comes with the function
`c2l-convert-little-endian-to-iso8601-date` that takes a date in the format
`DD.MM.YYYY` and converts it to `YYYY-MM-DD`. For convenience, it also accepts
dates in the forms `DD-MM-YYYY [...]
+First, there is the option `c2l-field-modify-functions`. You can use this
option to adjust the value of particular fields. As an example, my CSV files
provide the date in the format `DD.MM.YYYY`, but in my ledger files I use the
format `YYYY-MM-DD`. To remedy this, `csv2ledger` comes with the function
`c2l-convert-little-endian-to-iso8601-date` that takes a date in the format
`DD.MM.YYYY` and converts it to `YYYY-MM-DD`. For convenience, it also accepts
dates in the forms `DD-MM-YYYY` an [...]
`c2l-field-modify-functions` is an alist mapping field names to functions.
Each function should take a string as its only argument and return a string.
They are called with the field's value as argument and the return value
replaces the original value in the transaction. So in order to transform the
date as described, I set `c2l-field-modify-functions` as follows:
- [nongnu] elpa/csv2ledger 6e9838193e 023/190: New function: `c2l-payee-or-sender`., (continued)
- [nongnu] elpa/csv2ledger 6e9838193e 023/190: New function: `c2l-payee-or-sender`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 2cf9b08114 020/190: Remove function `c2l-parse-amount`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger d8ee57f181 006/190: Update copyright year., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger c1fb4a3255 013/190: Reconcile commits 6023fa3 and 1e4bd7c., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 7635ee6fe3 007/190: Update "Created" year in header., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger b4f6fac379 002/190: Add .gitignore, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 6023fa373b 012/190: Use lower-case column names in `c2l-csv-columns`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger a4ded4f5dc 109/190: Change the default value of c2l-csv-columns to the empty list., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 170dc4ae5c 102/190: Update README.md, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 07281e2558 097/190: Update to the README., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger f234878bd2 180/190: Update to the README,
ELPA Syncer <=
- [nongnu] elpa/csv2ledger 3b203a66e1 118/190: Improve code layout., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 64da760597 119/190: Update copyright year., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 98ab50c9a7 185/190: New command c2l-read-account-matchers, ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger e744d0706f 186/190: Update version number., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 188ddacde7 057/190: Rename target account to balancing account., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger a1b0dd35e1 053/190: Update README., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 88c394d5bb 066/190: Rename c2l-payee-or-sender to c2l-title-is-payee-or-sender., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger e8a7609736 050/190: Add user option `c2l-alignment-column`., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 0af0aa3de2 021/190: Rename `c2l-parse-date` and update doc string., ELPA Syncer, 2024/06/03
- [nongnu] elpa/csv2ledger 900eef1457 017/190: Move definition of `c2l-account-matchers-file`., ELPA Syncer, 2024/06/03