A dead simple in-place date shifting tool that updates all of your dates in a JSON file to use the
mockoon dateTimeShift
format.
npx mockoon-date-shift ./file.json
{
"item": "2000-01-01"
}
{
"item": "{{dateTimeShift date=now format='yyyy-MM-dd' years=-24 months=-3 days=-16 hours=0 minutes=0 seconds=0}}"
}