{{ due |
date: '%s' |
minus: 1231718400 |
divided_by: 604800
}}
- Input: {"due"=>#<Date: 2017-05-02 ((2457876j,0s,0n),+0s,2299161j)>}
- Output: 433
{{ due |
date: '%s' |
minus: 1231718400 |
minus: 604800 |
divided_by: 604800
}}
- Input: {"due"=>#<Date: 2017-05-02 ((2457876j,0s,0n),+0s,2299161j)>}
- Output: 432
{{ due |
date: "%b %Y"
}}
- Input: {"due"=>#<Date: 2017-05-02 ((2457876j,0s,0n),+0s,2299161j)>}
- Output: May 2017
{{ due |
date: "%s" |
minus: 2419200 |
date: "%b %Y"
}}
- Input: {"due"=>#<Date: 2017-05-02 ((2457876j,0s,0n),+0s,2299161j)>}
- Output: Apr 2017
{{ due |
date: "%F"
}}
- Input: {"due"=>#<Date: 2017-05-02 ((2457876j,0s,0n),+0s,2299161j)>}
- Output: 2017-05-02