add support for relative dates, fix #28