2007/02/02 RD VMMXX
    Assets:Investments:Vanguard:VMMXX  0.350 VMMXX @ $1.00
    Income:Dividends:Vanguard:VMMXX        $-0.35

$ hledger -f- check

#test reg --date-format='%Y'
#2007 RD VMMXX              As:Investm:Vanguar:VMMXX  0.350 VMMXX  0.350 VMMXX
#                           In:Dividen:Vanguar:VMMXX       $-0.35       $-0.35
#                                                                  0.350 VMMXX
#end test
#