@@ -31,11 +31,11 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | function field_options( $field_options, $template_id = '', $field_id = '', $context = '', $input_type = '' ) { |
| 33 | 33 | |
| 34 | - if( 'edit' === $context ) { |
|
| 34 | + if ( 'edit' === $context ) { |
|
| 35 | 35 | return $field_options; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - $this->add_field_support('date_display', $field_options ); |
|
| 38 | + $this->add_field_support( 'date_display', $field_options ); |
|
| 39 | 39 | |
| 40 | 40 | return $field_options; |
| 41 | 41 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | $field_input_id = gravityview_get_input_id_from_id( $field_id ); |
| 84 | 84 | |
| 85 | 85 | $date_field_output = ''; |
| 86 | - switch( $field_input_id ) { |
|
| 86 | + switch ( $field_input_id ) { |
|
| 87 | 87 | case 1: |
| 88 | 88 | $date_field_output = \GV\Utils::get( $parsed_date, 'month' ); |
| 89 | 89 | break; |