• Resolved christianrabenstein

    (@christianrabenstein)


    It would be nice if one had for the date and time formats a conclusion in the translation, because we write the date and time differently in Austria.

    Some examples so you know what I mean. I have currently hard coded this in lifterlms, so it works for me.

    /**
    * @link /wp-content/plugins/lifterlms/includes/models/model.llms.lesson.php
    * @line 89
    */

    @orignal
    public function get_available_date( $format = ‘F j, Y h:i A’ ) {

    @change_to
    — snip —
    public function get_available_date( $format = ‘j. F Y \u\m H:i’ ) {
    — snap —

    /**
    * @link /wp-content/plugins/lifterlms/includes/class.llms.student.php
    * @method get_enrollment_date()
    */

    @orignal
    public function get_enrollment_date( $product_id, $date = ‘enrolled’, $format = ‘F j, Y’ ) {

    @change_to
    — snip —
    public function get_enrollment_date( $product_id, $date = ‘enrolled’, $format = ‘d. F Y’ ) {
    — snap —

    best
    Christian

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date and time format’ is closed to new replies.