MDL-62049 core_privacy: use correct lang string for date
[moodle.git] / privacy / classes / local / request / transform.php
index 34a3bd1..48c3865 100644 (file)
@@ -64,7 +64,7 @@ class transform {
      * @return  string      The translated string.
      */
     public static function date($date) {
-        return userdate($date, get_string('strftimetime', 'langconfig'));
+        return userdate($date, get_string('strftimedate', 'langconfig'));
     }
 
     /**