for #34, fix the .../foods/log/date endpoint