Skip to content

Commit

Permalink
Add the timezone to the payments table
Browse files Browse the repository at this point in the history
  • Loading branch information
mintplugins committed Nov 8, 2019
1 parent e2a04c8 commit 8d3eb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/payments/class-payments-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public function column_default( $order, $column_name ) {
break;
case 'date':
$date = EDD()->utils->date( $order->date_created, null, true )->toDateTimeString();
$value = '<time datetime="' . esc_attr( $date ) . '">' . edd_date_i18n( $date, 'M. d, Y' ) . '<br>' . edd_date_i18n( $date, 'H:i' ) . '</time>';
$value = '<time datetime="' . esc_attr( $date ) . '">' . edd_date_i18n( $date, 'M. d, Y' ) . '<br>' . edd_date_i18n( $date, 'H:i' ) . ' ' . $timezone_abbreviation . '</time>';
break;
case 'gateway':
$value = edd_get_gateway_admin_label( $order->gateway );
Expand Down

0 comments on commit 8d3eb01

Please sign in to comment.