WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41782, comment 7


Ignore:
Timestamp:
09/03/2017 03:57:11 PM (23 months ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41782, comment 7

    initial v1  
    11Glad to hear that worked for you.
    2 
    3 Yes this was just a way around the problem.
    42
    53After some tests I found out that the second input argument to {{{strtotime()}}} does not always have effect.
     
    86
    97https://bugs.php.net/bug.php?id=18177
     8
     9but it's probably just a feature of that function.
    1010
    1111I did some testing and found out that it doesn't have effect on these examples:
     
    4646where {{{$now}}} is {{{time() + get_option( 'gmt_offset' ) + HOUR_IN_SECONDS}}}.
    4747
    48 I think we should at least patch it to support the {{{Y:m:d H:i:s}}} match.
     48Maybe we should consider patching a support for the {{{Y:m:d H:i:s}}} match?
     49
     50