   //{{ end }}

            $('#id_expiration_clear').on("click", function(e){
                e.preventDefault();
                picker.clear();
            });

            $("#share_form").submit(function (event) {
                $('#hidden_start_datetime').val("");
                let dt = picker.selectedDates;
                if (dt.length > 0) {
                    let d = dt[0];
                    if (d) {
                        let dateString = moment.utc(d).format('YYYY-MM-DD HH:mm:ss');
      