add support for posting when

fixed support for back-filling events.