import Utils from './utils';
import {DateOnly} from './util/time';
import TaskModel from './TaskModel';

export default class DayModel {
	constructor(tasks, id = Utils.guid(), date = DateOnly()) {
    this.tasks = tasks;
    this.id = id;
    this.date = date;
  }
}
import Utils from './utils';
import {DateOnly} from './util/time';
import TaskModel from './TaskModel';

export default class DayModel {
	constructor(tasks, date = DateOnly(), id = Utils.guid()) {
    this.tasks = tasks;
    this.date = date;
    this.id = id;
  }
}
Change order of parameters Seems more common to need a dayModel with items and date with unknown id