Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Add-ons
  • Manager, Parser & the Core
  • ManagerManager
  •  
  • Bug - mm_default when date format changed in config#

  • 34077
    59
    -------------------
    Jason Bird
    Twitter: @jasonabird @threeeyedbird

    jasonabird Reply #1, 1 year, 10 months ago

    Reply
    • Link to this post#1
    Just found a bug/issue with the mm_default function if you changed your date format away from d-m-Y in the modx config. I have mine set to mm/dd/YYYY and found out that my publish_date was not being auto updated by mm_default('pub_date');. Upon looking at the pub_date case in the fieldvalue.inc.php I saw it was setting the date to d-m-Y. I changed it in my case to be m/d/Y but figure this should probably pull from the config and set it in the correct format based on that.


  • 21056
    322
    Author: ManagerManager plugin - customise your ModX manager interface

    Rckt - web development, Sheffield, UK

    ncrossland Reply #2, 1 year, 7 months ago

    Reply
    • Link to this post#2
    Hi

    Thanks for reporting this - it is fixed in upcoming version 0.3.9


  • 33014
    1,085

    yama Reply #3, 1 year, 5 months ago

    Reply
    • Link to this post#3
    http://code.google.com/p/modx-ja/source/detail?r=833
    (Click +modify button)

    I think better method, use API function.($modx->toDateFormat function)


  • 21056
    322
    Author: ManagerManager plugin - customise your ModX manager interface

    Rckt - web development, Sheffield, UK

    ncrossland Reply #4, 1 year, 2 months ago

    Reply
    • Link to this post#4
    Thanks, I've used that recommended code.





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
jasonabird, ncrossland, yama

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy