Title: Date Format
Last modified: April 2, 2025

---

# Date Format

 *  Resolved [manevilhena](https://wordpress.org/support/users/himidia/)
 * (@himidia)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/date-format-253/)
 * Hello,
 * I’m typing from Brazil and down here the dates are usually formatted as (d/m/
   Y)
 * My wordpress main settings is correct but LifterLMS is formatting the dates some
   other way when using the shortcode [lifterlms_course_info id=”1456″ key=”start_date”]
 * I tried adding date_format=”F j, Y” to the shortcode with no success: 
   [lifterlms_course_info
   id=”1456″ key=”start_date” date_format=”d/m/Y”]
 * How can I ensure that LifterLMS uses the Brazilian date format?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdate-format-253%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [manevilhena](https://wordpress.org/support/users/himidia/)
 * (@himidia)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/date-format-253/#post-18396507)
 * EDIT: I’ve managed to show the correct date format using the shortcode:
   [lifterlms_course_info
   id=”1456″ key=”enrollment_start_date” type=”date” date_format=”d/m/Y”].
 * Ï have used type=”date and date_format=”d/m/Y”
 * But is there a way to force LifterLMS to use the same date/time format as the
   WordPress settings?
 *  Plugin Support [Nick Mariano](https://wordpress.org/support/users/reddotinmotion/)
 * (@reddotinmotion)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/date-format-253/#post-18400029)
 * Hi [@himidia](https://wordpress.org/support/users/himidia/),
   I’m glad you are
   able to find a manual workaround. However, you mentioned that you want to force
   LifterLMS to use WordPress date/time settings. In this case, we recommend that
   you try using the `llms_shortcode_course_info` filter for that shortcode. That
   filter is defined in `wp-content/plugins/lifterlms/includes/shortcodes/class.
   llms.shortcodes.php`.
 *  Thread Starter [manevilhena](https://wordpress.org/support/users/himidia/)
 * (@himidia)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/date-format-253/#post-18400039)
 * Thanks [@reddotinmotion](https://wordpress.org/support/users/reddotinmotion/)!
   I will look for this.
 * So if a make copy of ths file (wp-content/plugins/lifterlms/includes/shortcodes/
   class.llms.shortcodes.php), put it at my child-theme I can safely edit the date
   format the way I want, right?
 * Thank you!!
 *  Plugin Support [Alexander](https://wordpress.org/support/users/alextonio22/)
 * (@alextonio22)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/date-format-253/#post-18400243)
 * Hi [@himidia](https://wordpress.org/support/users/himidia/) ,
 * You can indeed copy the `class.llms.shortcodes.php` file and place it in your
   child theme to make modifications, such as adjusting the date format. However,
   please note that simply placing the file in your child theme won’t override the
   plugin’s behavior automatically, WordPress doesn’t load PHP class files from 
   child themes by default.
 * Also, modifying core plugin files, even in a copied version, can lead to compatibility
   issues down the line. While placing custom code in a child theme ensures your
   changes aren’t lost during theme updates, future LifterLMS plugin updates could
   change how the original file functions, requiring you to revisit your custom 
   code for continued compatibility. For long-term maintainability, using available
   hooks or filters to customize output whenever possible.
 * Also, I would like to mention that we are considering an update that would make
   the date formatting respect your WordPress General Settings, for example, setting
   the format to `d/m/Y` in your site settings would reflect that format across 
   your courses. While we don’t have an exact release date yet, this enhancement
   is on our radar.
 * All the best,
 *  Plugin Author [Brian Hogg](https://wordpress.org/support/users/brianhogg/)
 * (@brianhogg)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/date-format-253/#post-18407991)
 * Hi [@himidia](https://wordpress.org/support/users/himidia/) ,
 * If you update to the latest version of LifterLMS (8.0.3), the default format 
   of these dates should match your site format.
 * Any issues with it let us know!
 *  Thread Starter [manevilhena](https://wordpress.org/support/users/himidia/)
 * (@himidia)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/date-format-253/#post-18409043)
 * hi [@brianhogg](https://wordpress.org/support/users/brianhogg/), I am running
   version 8.0.3 already!
 *  Plugin Support [Nick Mariano](https://wordpress.org/support/users/reddotinmotion/)
 * (@reddotinmotion)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/date-format-253/#post-18409600)
 * Hi [@himidia](https://wordpress.org/support/users/himidia/),
   I tried using `[
   lifterlms_course_info key="enrollment_start_date"]` inside a course page when
   using LifterLMS 8.0.3, and it obeyed the date settings in `WordPress Dashboard
   > Settings > Date Format`. When I used LifterLMS 8.0.2, the date settings were
   not obeyed. Could you confirm this on your end?
 *  Thread Starter [manevilhena](https://wordpress.org/support/users/himidia/)
 * (@himidia)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/date-format-253/#post-18410136)
 * Hi [@reddotinmotion](https://wordpress.org/support/users/reddotinmotion/),
 * Thanks, I’ve tested the shortcode without  type=”date” date_format=”d/m/Y” and
   now it worked!
 * Now it is following the same setting as WordPress settings.
 * Thanks so much!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Date Format’ is closed to new replies.

 * ![](https://ps.w.org/lifterlms/assets/icon.svg?rev=2034507)
 * [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes](https://wordpress.org/plugins/lifterlms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lifterlms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lifterlms/)
 * [Active Topics](https://wordpress.org/support/plugin/lifterlms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lifterlms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lifterlms/reviews/)

## Tags

 * [brazil](https://wordpress.org/support/topic-tag/brazil/)
 * [date format](https://wordpress.org/support/topic-tag/date-format/)

 * 8 replies
 * 4 participants
 * Last reply from: [manevilhena](https://wordpress.org/support/users/himidia/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/date-format-253/#post-18410136)
 * Status: resolved