first format support for intervals

see issue #136