WBD schedule: setup 2
<style><!-- [et_pb_line_break_holder] -->.gf_directory {<!-- [et_pb_line_break_holder] -->font-size: 8pt;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --></style><!-- [et_pb_line_break_holder] --><script><!-- [et_pb_line_break_holder] -->function addDays(date, days) {<!-- [et_pb_line_break_holder] --> var result = new Date(date);<!-- [et_pb_line_break_holder] --> result.setDate(result.getDate() + days);<!-- [et_pb_line_break_holder] --> return result;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->function formatDate(date) {<!-- [et_pb_line_break_holder] --> var dd = date.getDate();<!-- [et_pb_line_break_holder] --> var mm = date.getMonth()+1; //January is 0!<!-- [et_pb_line_break_holder] --> var yyyy = date.getFullYear();<!-- [et_pb_line_break_holder] --> if(dd<10) { <!-- [et_pb_line_break_holder] --> dd='0'+dd<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> if(mm<10) {<!-- [et_pb_line_break_holder] --> mm='0'+mm<!-- [et_pb_line_break_holder] --> } <!-- [et_pb_line_break_holder] --> return (mm + '/' + dd + '/' + yyyy);<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->function formatTime(date) {<!-- [et_pb_line_break_holder] --> var hours = date.getHours();<!-- [et_pb_line_break_holder] --> var minutes = date.getMinutes();<!-- [et_pb_line_break_holder] --> var ampm = hours >= 12 ? 'pm' : 'am';<!-- [et_pb_line_break_holder] --> hours = hours % 12;<!-- [et_pb_line_break_holder] --> hours = hours ? hours : 12; // the hour '0' should be '12'<!-- [et_pb_line_break_holder] --> var strTime = hours;<!-- [et_pb_line_break_holder] --> return strTime;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] -->var start_date = new Date();<!-- [et_pb_line_break_holder] -->var rack_date = new Date();<!-- [et_pb_line_break_holder] -->var filter_date = new Date();<!-- [et_pb_line_break_holder] -->var bottle_date = new Date();<!-- [et_pb_line_break_holder] -->jQuery(document).ready(function(){<!-- [et_pb_line_break_holder] --> var start_date_string = formatDate(addDays(start_date, 0));<!-- [et_pb_line_break_holder] --> var rack_date_string = formatDate(addDays(rack_date, 21));<!-- [et_pb_line_break_holder] --> var filter_date_string = formatDate(addDays(filter_date, 35));<!-- [et_pb_line_break_holder] --> var bottle_date_string = formatDate(addDays(bottle_date, 42));<!-- [et_pb_line_break_holder] --> var default_time = formatTime(start_date);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_6').val(start_date_string);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_7_1').val(default_time);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_7_2').val('00');<!-- [et_pb_line_break_holder] --> jQuery('#input_4_9').val(rack_date_string);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_10_1').val(default_time);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_10_2').val('00');<!-- [et_pb_line_break_holder] --> jQuery('#input_4_12').val(filter_date_string);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_13_1').val(default_time);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_13_2').val('00');<!-- [et_pb_line_break_holder] --> jQuery('#input_4_15').val(bottle_date_string);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_16_1').val(default_time);<!-- [et_pb_line_break_holder] --> jQuery('#input_4_16_2').val('00');<!-- [et_pb_line_break_holder] -->});<!-- [et_pb_line_break_holder] --></script><!-- [et_pb_line_break_holder] -->
Directory
[directory form=”4″]