Skip to Content Skip to Menu

[SOLVED] Last Update Date Format

  • highonryan
  • highonryan
  • OFFLINE
  • Posts: 60
  • Thanks: 14
  • Karma: 2
7 years 6 months ago - 7 years 6 months ago #295408 by highonryan
[SOLVED] Last Update Date Format was created by highonryan
Hello,

I am wanting to display the lastupdatedate field in a CB Content module. I have "Prepare using Content Plugins" set to Yes.

It displays when I use "You have not updated your account since [lastupdatedate]"

But the datetime format is Y-m-d H:i:s (i.e. "You have not updated your account since 2017-05-14 15:25:36" but I only want m-d-Y.

I tried the following:
Field > Parameters > Display > Profile View Display: Date
Field > Parameters > Display > Profile View Display: Timeago, with Ago
Field > Parameters > Display > Profile View Display: Custom > Custom Date Display Format: m-d-Y

None of these changes affect how lastupdatedate displays.

What am I doing wrong?

Thanks,
Ryan
Last edit: 7 years 6 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • highonryan
  • highonryan
  • OFFLINE
  • Posts: 60
  • Thanks: 14
  • Karma: 2
7 years 6 months ago #295409 by highonryan
Replied by highonryan on topic Last Update Date Format
Another rookie mistake.

In the CB Content module, I changed [lastupdatedate] to [cb:userfield field="lastupdatedate" /]

Then I deleted the H:i:s from
Field > Parameters > Display > Profile View Display: Custom > Custom Date Display Format:

This solved the problem.

Please mark this thread as "Solved" or delete it.

Thanks,
Ryan
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum