summaryrefslogtreecommitdiff
path: root/test/regress/370-forecast_period_days.test
blob: faf9d47bbdffb53d3ce7021f1467490081353c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;does not care about start date
~ every 14 days from 2010/02/23
    Expenses:Bills:Housecleaning        $85.00
    Assets:Bank:Checking

;before Sun aug 01 2010
;now is Mon jun 21 2010
;a Tuesday?
;forecasts period start is now first forecast transaction is now + 1 'tomorrow'
test reg --forecast 'date <[2010/08/01]' --now=2010/06/13
10-Jun-27 Forecast transaction  Ex:Bills:Housecleaning       $85.00       $85.00
10-Jun-27 Forecast transaction  Assets:Bank:Checking        $-85.00            0
10-Jul-11 Forecast transaction  Ex:Bills:Housecleaning       $85.00       $85.00
10-Jul-11 Forecast transaction  Assets:Bank:Checking        $-85.00            0
10-Jul-25 Forecast transaction  Ex:Bills:Housecleaning       $85.00       $85.00
10-Jul-25 Forecast transaction  Assets:Bank:Checking        $-85.00            0
end test