enter image description hereI am generating the auto label by using the tokens for some field like date of birth and the gender of a person in auto label tab. but after saving the node the date of birth is generating in following format, 2015-08-11 00:00:00 Male, i have chosen the created date format in the manage fields for the DOB field but still its displaying along with 00:00:00, i want to take off this all zeros. please help me on this.

  • you can use a php date format for displaying the date.
    – Ahmad
    Commented Aug 28, 2015 at 10:37
  • i have added the new format, and in manage dispalying choosen that format only, after saving node the dob field is displaying that format only but autolabel where in i user dob field along with gender there its displaying the all unwanted zeros, i am not getting why its?i am searching but no idea.
    – rose
    Commented Aug 28, 2015 at 10:40
  • its a node field? and where are you displaying the value of that field?
    – Ahmad
    Commented Aug 28, 2015 at 10:41
  • this field token i am using in auto label tab and generating the auto name using date of birth and gender.
    – rose
    Commented Aug 28, 2015 at 10:43
  • 1
    yes, you can add 'short' or 'long' like this drupal.org/files/images/auto-entity-labels.png
    – vgoradiya
    Commented Aug 28, 2015 at 11:06


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.