Skip to content
  • Mihail Geshoski's avatar
    MDL-44613 behat: strftime format in time to timestamp transformation · 9fadf911
    Mihail Geshoski authored
    Modifies the 'string time to timestamp' behat trasformation to use
    userdate() instead of date(). The userdate() method is generally used
    throught Moodle for constructing formatted date strings and this change
    will provide more consistency and prevent any potential behat failures.
    Therefore, if the date format is defined in the given trasformation, it
    has to be strftime compatible. Example:
    'I should see "##tomorrow noon##%A, %d %B %Y, %I:%M %p##"'
    9fadf911