Announcement Announcement Module
Collapse
No announcement yet.
Error setting date format as "SF" Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error setting date format as "SF"

    I have moved the addDateTimeFormatPatterns funtion from the .aj file to the .java controler, to change the date format.

    Code:
        void addDateTimeFormatPatterns(Model uiModel) {
            uiModel.addAttribute("myentity_datecreation_date_format", DateTimeFormat.patternForStyle("SF", LocaleContextHolder.getLocale()));
        }
    But now the date is showed in the list.jspx as

    Code:
    23/01/13 18'18'19'' CET
    The code at list.jspx is the one generated by roo.

    Code:
    <table:column date="true" dateTimePattern="${myentity_datecreation_date_format}" id="myentity_DateCreation" property="dateCreation" z="B1V1DL81MdguOdjVlhJcxPibASo="/>
    Is a know bug? should I open a Jira ticket?
Working...
X