Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #129 from wp-graphql/release/v0.3.3
Browse files Browse the repository at this point in the history
Release/v0.3.3
  • Loading branch information
jasonbahl authored Apr 27, 2020
2 parents b3cdd25 + 43372b3 commit ea3b239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/class-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ protected function register_graphql_field( $type_name, $field_name, $config ) {
$value = $this->get_acf_field_value( $root, $acf_field, true );

if ( ! empty( $value ) && ! empty( $acf_field['return_format'] ) ) {
$value = date( $acf_field['return_format'], $value );
$value = date( $acf_field['return_format'], strtotime( $value ) );
}
return ! empty( $value ) ? $value : null;
},
Expand Down
2 changes: 1 addition & 1 deletion wp-graphql-acf.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://www.wpgraphql.com
* Text Domain: wp-graphql-acf
* Domain Path: /languages
* Version: 0.3.2
* Version: 0.3.3
* Requires PHP: 7.0
* GitHub Plugin URI: https://github.com/afragen/github-updater
*
Expand Down

0 comments on commit ea3b239

Please sign in to comment.