Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Parsing two digit dates in .rules file

12 views
Skip to first unread message

Bharatvaj Hemanth

unread,
Aug 13, 2024, 1:31:30 PM8/13/24
to hledger
I've been trying to parse a statement from my HDFC Bank.

The date is non-standard and looks like this, DD/MM/YY <- Two digit year

So far I have this,

skip 2
fields date, description, amount
date-format %d-/%m-/%Y
currency

account1 assets:hdfc:checking

And I'm not sure how to represent two digit years. Any pointers would be appreciated.

Thanks,
Bharatvaj Hemanth

Simon Michael

unread,
Aug 13, 2024, 5:28:10 PM8/13/24
to hle...@googlegroups.com
--
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+u...@googlegroups.com.

Bharatvaj Hemanth

unread,
Aug 24, 2024, 1:21:34 PM8/24/24
to hledger
Ah! I should read the docs.

Thanks, Simon.
Reply all
Reply to author
Forward
0 new messages