how to show datetime in data-sly-list? | Community
Skip to main content
littlegreywolf
New Participant
November 29, 2018
Solved

how to show datetime in data-sly-list?

  • November 29, 2018
  • 2 replies
  • 1819 views

how to show datetime in data-sly-list?

I made a field using datepicker in aem6.1 dialog.

I can use it to set datetime value like "2018-11-01 12:10".   displayedFormat can work in datepicker.

When I use ${item.startDate @ dateFormat="YYYY-MM-DD HH:mm"} in html , I find it show wrong value like "2018-11-01T12:10:00.000+08:00".

How can I make html show the right datetime value like 2018-11-01 12:10 ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See Date section in the HTL Spec -- htl-spec/SPECIFICATION.md at master · adobe/htl-spec · GitHub

2 replies

smacdonald2008
smacdonald2008Accepted solution
New Participant
November 30, 2018
littlegreywolf
New Participant
November 30, 2018

who can help?