Skip to content

Commit ea3b239

Browse files
authored
Merge pull request wp-graphql#129 from wp-graphql/release/v0.3.3
Release/v0.3.3
2 parents b3cdd25 + 43372b3 commit ea3b239

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/class-config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ protected function register_graphql_field( $type_name, $field_name, $config ) {
450450
$value = $this->get_acf_field_value( $root, $acf_field, true );
451451

452452
if ( ! empty( $value ) && ! empty( $acf_field['return_format'] ) ) {
453-
$value = date( $acf_field['return_format'], $value );
453+
$value = date( $acf_field['return_format'], strtotime( $value ) );
454454
}
455455
return ! empty( $value ) ? $value : null;
456456
},

wp-graphql-acf.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Author URI: https://www.wpgraphql.com
88
* Text Domain: wp-graphql-acf
99
* Domain Path: /languages
10-
* Version: 0.3.2
10+
* Version: 0.3.3
1111
* Requires PHP: 7.0
1212
* GitHub Plugin URI: https://github.com/afragen/github-updater
1313
*

0 commit comments

Comments
 (0)