Title: [Plugin: Job Manager] Publication date
Last modified: August 19, 2016

---

# [Plugin: Job Manager] Publication date

 *  [quentinio](https://wordpress.org/support/users/quentinio/)
 * (@quentinio)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-job-manager-publication-date/)
 * Is there any way of defaulting the publication date to the actual day of publication
   instead of 1970-01-01?
    It shows up on the feed so it isn’t valuable info.
 * Thanks a lot

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Gary Pendergast](https://wordpress.org/support/users/pento/)
 * (@pento)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-job-manager-publication-date/#post-1665375)
 * Thanks for the bug report! I’ll release a fix for this in the next bugfix version.
 * In the mean time, you can make this fix yourself, by opening `admin-jobs.php`,
   going to line 550, and swapping this code:
 *     ```
       $displaystartdate = date( 'Y-m-d H:i:s', strtotime( stripslashes( $_REQUEST['jobman-displaystartdate'] ) ) );
       if( empty( $displaystartdate ) )
       	$displaystartdate = date( 'Y-m-d H:i:s', strtotime( '-1 day' ) );
       ```
   
 * for this:
 *     ```
       if( array_key_exists( 'jobman-displaystartdate', $_REQUEST ) && ! empty( $_REQUEST['jobman-displaystartdate'] ) )
       	$displaystartdate = date( 'Y-m-d H:i:s', strtotime( stripslashes( $_REQUEST['jobman-displaystartdate'] ) ) );
       else
       	$displaystartdate = date( 'Y-m-d H:i:s' );
       ```
   
 *  Thread Starter [quentinio](https://wordpress.org/support/users/quentinio/)
 * (@quentinio)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-job-manager-publication-date/#post-1665454)
 * Thanks a lot!
    On a side note had to change the last line to `$displaystartdate
   = date( 'Y-m-d H:i:s', strtotime( '-9 hours' ) );` to deal with local time / 
   server time issues. Might help somebody!
 *  Plugin Author [Gary Pendergast](https://wordpress.org/support/users/pento/)
 * (@pento)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-job-manager-publication-date/#post-1665459)
 * I forget that some people don’t have their server timezone set to GMT. I’ll think
   of a way to make this work regardless of server timezone.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Job Manager] Publication date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/job-manager_2792c3.svg)
 * [Job Manager](https://wordpress.org/plugins/job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/job-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gary Pendergast](https://wordpress.org/support/users/pento/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-job-manager-publication-date/#post-1665459)
 * Status: not resolved