What if you use a dash or colon to separate date from time? I think the
ledger parser breaks on white space before it does much else.

On Sun, Mar 18, 2018 at 06:22 Vishesh Handa <[email protected]> wrote:

> Hi
>
> Most of my banks give me the date and time of each transaction. I think
> ledger doesn't support this, based on the following experiment -
>
> 2017-10-09 13:44:32 * For something
>   Expense:Foo 500 EUR
>   Assets:Checking
>
> The transaction does not appear with the --cleared flag. Additionally the
> formatting is bit off with the 'register' command. I also tried specifying
> --input-date-format='%Y-%m-%d %H:%M:%S', but that did not help. Also none
> of the documentation mentions time.
>
> * Are there any plans of supporting an optional time format? I understand
> that this can get quite complex with timezones.
>
> * For now how do people generally store the time? I was planning on
> storing it as a "Metadata value".
>
> I find it especially useful to store the time as it allows me to easily
> calculate how much money I spent on lunch, and it should allow me to
> approximately map my transaction data with my location data. It's also
> useful for trading accounts with many transactions a day.
>
> --
> Vishesh Handa
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Craig, Corona De Tucson, AZ
[image: missile_flyout]
enderw88.wordpress.com

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to