Add initializer for time formats