Skip to content

How to customize weekOfMonth to get week starting on Monday #240

@ranouf

Description

@ranouf

Hi,

In my app, the first day of the week is monday, so when I call:

  var scheduler = later.parse.recur();
  scheduler.on(1).weekOfMonth();
  later.date.localTime();
  var result = later.schedule(scheduler).next(1);

the result is not matching with what I m expecting as later starts the week on sunday.

How could I customize later or weekOfMonth to set Monday as the fist day of the week?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions