Fixed Date Maths.
Fixed failure to post updates on pump status changes.