I am having trouble displaying the year. This code prints:
Issue Date: June 2016-01-01 00:00:00

I need it to print:
Issue Date: June 2016

 print 
    $entity->field_month['und'][0]['value'] . " " . $entity->field_year['und'][0]['value'];

Any help is appreciated.

Comments

DCLoganGuy created an issue. See original summary.

DCLoganGuy’s picture

Component: Field UI » Code
aspilicious’s picture

Status: Active » Closed (won't fix)

This is not the place to ask these questions. You should take a look at http://drupal.stackexchange.com/.
You'll get more help there.

Thnx for using Display Suite.