I use vim for accounting with ledger. I'd like to be able to enter a date at the beginning of a line like this:

`4/3`

and then, after pressing `space`, have it auto-expand to this:

`2017/04/03`

What is the best way to accomplish this in vim?