nunaliit2-js: Allow to specify a period (time interval) in a date field

Issues #269