-
Notifications
You must be signed in to change notification settings - Fork 369
Open
Labels
Description
Describe the bug
The expiration date format in the [job dashboard] is always in 'M d, Y'
format despite the global WordPress date format setting. The problem lies in the date format being hardcoded:
WP-Job-Manager/includes/class-job-dashboard-shortcode.php
Lines 603 to 605 in 41d5048
public static function the_date( $job ) { | |
echo '<div>' . esc_html( wp_date( apply_filters( 'job_manager_get_dashboard_date_format', 'M d, Y' ), get_post_datetime( $job )->getTimestamp() ) ) . '</div>'; | |
} |
Expected behavior
Change date format based on global WordPress date format setting.