Skip to:
Content
Pages
Categories
Search
Top
Bottom

get_topic_start_time customization


  • engin1984
    Participant

    @engin1984

    How to customize get_topic_start_time();

    i want to display full time (13 June 2011 – 18:50)

    not 5 minutes ago.

    format > datetime didn’t work.

    thanks

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

  • chrishajer
    Participant

    @chrishajer

    Try this in your template’s topic.php:

    <li><?php printf(__('Started %1$s by %2$s'), bb_datetime_format_i18n(get_topic_start_time(array('format' => 'timestamp'))), get_topic_author()) ?></li>

    You can use “timestamp” but then you need to convert it from a Unix timestamp using bb_datetime_format_i18n.

    Hope that helps.

    Chris


    engin1984
    Participant

    @engin1984

    i solved it by ….topic_start_time….

    thanks.

    maybe get_topic_start_time doesn’t work

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

You must be logged in to reply to this topic.