Making WordPress.org

Changeset 8179


Ignore:
Timestamp:
02/02/2019 12:29:02 PM (6 years ago)
Author:
ocean90
Message:

Slack: Don't convert the timestamp twice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/common/includes/slack/trac/commit.php

    r8178 r8179  
    3939        $attachment['mrkdwn_in'] = [ 'text', 'fallback' ];
    4040
    41         $attachment['ts']          = strtotime( $this->created );
     41        $attachment['ts']          = $this->created;
    4242        $attachment['footer']      = sprintf( '<%s|%s>', $this->trac->get_url(), $this->trac->get_name() );
    4343        $attachment['footer_icon'] = sprintf( '%s/chrome/common/trac.ico', $this->trac->get_url() );
Note: See TracChangeset for help on using the changeset viewer.