Last active
December 12, 2015 05:58
-
-
Save betweenbrain/4725131 to your computer and use it in GitHub Desktop.
Format K2 Date Type Extra Field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo JHTML::_('date', $item->extraFields->EXTRAFIELDALIASHERE->value , JText::_('%m/%d/%y')) |
I don't know why this shows for me the current date, not the one stored in database
I just posted a solution (small hack) to help resolve the date extra field limitation - it's on the Joomla K2 Forum:
http://www.joomlaworks.net/forum/k2-en/36900-edit-extra-field-date-format-in-specific-template#143550
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See http://php.net/manual/en/function.date.php for date format