Wunderbyte-GmbH / moodle-mod_mooduell

Player vs. Player Game using Moodle Quiz Questions (Multiplayer Oriented Online DUELL)
Other
2 stars 4 forks source link

Kindly use language String to support this #77

Closed purnendudash closed 6 months ago

purnendudash commented 6 months ago

This should fail for other languages. Rather we should support this via language string.

https://github.com/Wunderbyte-GmbH/moodle-mod_mooduell/blob/9911500e88b15585d0c52a8113c12e3f2100a95b/classes/tables/table_games.php#L101

georgmaisser commented 6 months ago

Thank you for pointing this out. We switched to the much better method for a formatted date:

userdate($game->timemodified, get_string('strftimedatetime', 'core_langconfig'));