Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Peter Booker

    (@peterbooker)

    Hi Maartje_1992,

    Thank you very much for taking the time to give us feedback, it is appreciated. I am currently looking at the date as it is not correctly adjusting for timezones and so I will have a look at this too.

    The date is displayed visually on each Tweet in this format ’28th Aug’, which is following the Twitter guidelines/format. On hovering over this is then displays a full timestamp, is this the date you would formatted normally?

    Either way, I don’t see a dropdown allowing the user to choose the date formats is unreasonable.

    Thread Starter Maartje_1992

    (@maartje_1992)

    Hey Peter,

    Thanks for replying so fast.

    The date displayed as 28th Aug is fine for people in the US (and maybe UK?)

    I now changed the format in the vieuws/list.php item.

    I changed

    <?php
                if ( date( 'Ymd' ) == date( 'Ymd', strtotime( $tweet->created_at ) ) ) {
                    // Covert created at date into timeago format
                    $created = human_time_diff( date( 'U', strtotime( $tweet->created_at )), current_time( 'timestamp' ) );
                } else {
                    // Convert created at date into easily readable format.
                    $created = date( 'jS M', strtotime( $tweet->created_at ) );
                }
                ?>

    To

    <?php
    				// Convert created at date into easily readable format.
    				$created = date('d-m-Y', strtotime($tweet->created_at));
    			?>

    wich creates a format as 30-08-2013
    For me this is fine, untill I update the plugin again but than I’ll adjust the code again, thats no big problem.

    But I don’t think displaying an other format on hovering is nice for people with other timeformats in their country.

    I don’t really understand what you mean by I don’t see a dropdown…
    You mean it is reasonable or you dont see it happen?

    Anyway, the date is a really small problem for most people I think, but I think it would be easier if they can choose the date format (if it’s possible).

    Sorry for my bad english and thanks for the plugin:)

    Plugin Author Peter Booker

    (@peterbooker)

    Hi Maartje_1992,

    Thanks for getting back to me with clarification, I understand what you mean now. I will be adding in a dropdown in the near future, which will let you choose a date format for the widget.

    Your english was perfect and we really appreciate you taking the time to give us feedback and helping us to improve the plugin.

    Thread Starter Maartje_1992

    (@maartje_1992)

    Thanks, that would be great 🙂

    Plugin Author Peter Booker

    (@peterbooker)

    Hi Maartje_1992,

    The latest update, 0.5.11, added a dropdown on the plugin options page, which allows you to change the date formated visible on the Twitters once they are older than a day, before that it uses the timeago “12 minutes ago”, etc.

    Is this along the lines of what you wanted? Do you have a preference for the possible date formats? I just noticed I added them with short years, I will edit it to display the full year soon.

    Would you like to be able to avoid the timeago system completely? To change the hover date too?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change date to dd/mm/yyyy’ is closed to new replies.