@action
    setLocalDate(date) {
        // Convert to a date string in the local timezone (moment is in local timezone by default)
        const dateString = moment(date).format(DATE_FORMAT);
        this._setDate(dateString);
    }
This method is called by `PowerDatepicker` when a user selected a date. It is constructed like
The difference here is that the Date object that is passed contains the date, but only when viewed in the local timezone.
This timezone can differ between the timezone of the blog. We need to convert the date to a new date in the blog's timezone on the same day that was selected.
Example: new Date('2000-01-01') -> a user selected 2000-01-01. In the blog timezone, this could be 1999-12-31 23:00, which is wrong.