Skip to content

Commit eb831ea

Browse files
authored
gw-populate-date.php: Fixed a deprecated warning notice.
1 parent 6a2052f commit eb831ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gravity-forms/gw-populate-date.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ public function get_modified_date( $field, $timestamp = false ) {
249249
// If saved in array format, it will not reload the value after conditional viewing/hiding.
250250
$date = "{$hour}:{$minute} {$ampm}";
251251
} elseif ( $this->_args['enable_i18n'] ) {
252-
$date = strftime( $format, $timestamp );
252+
$date = wp_date( $format, $timestamp );
253+
253254
} else {
254255
$date = date( $format, $timestamp );
255256
}

0 commit comments

Comments
 (0)