hledger-0.7.0: A command-line (or curses or web-based) double-entry accounting tool.Source codeContentsIndex
Ledger.TimeLog
Description
A TimeLogEntry is a clock-in, clock-out, or other directive in a timelog file (see timeclock.el or the command-line version). These can be converted to LedgerTransactions and queried like a ledger.
Synopsis
entriesFromTimeLogEntries :: LocalTime -> [TimeLogEntry] -> [LedgerTransaction]
entryFromTimeLogInOut :: TimeLogEntry -> TimeLogEntry -> LedgerTransaction
Documentation
entriesFromTimeLogEntries :: LocalTime -> [TimeLogEntry] -> [LedgerTransaction]Source
Convert time log entries to ledger transactions. When there is no clockout, add one with the provided current time. Sessions crossing midnight are split into days to give accurate per-day totals.
entryFromTimeLogInOut :: TimeLogEntry -> TimeLogEntry -> LedgerTransactionSource
Convert a timelog clockin and clockout entry to an equivalent ledger entry, representing the time expenditure. Note this entry is not balanced, since we omit the "assets:time" transaction for simpler output.
Produced by Haddock version 2.7.2