Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DetailViewer custom date time format

    Hi all
    How I can to make custom date formatter for DetailViewer ?
    I want to show text like that :
    Code:
    "11:00"
    I want to show only time ?
    is it possible ?

    I found many thread here about custom formatter but they can't help me.

    ____________________
    Regards,
    Paata Lominadze
    Last edited by paatal; 12 Jul 2011, 10:51.

    #2
    of course if i set this code :
    Code:
    DateUtil.setNormalDateDisplayFormatter(new DateDisplayFormatter() {
    				public String format(Date date) {
    					if (date == null)
    						return null;
    					DateTimeFormat dateFormatter = DateTimeFormat
    							.getFormat("HH:mm");
    					String format = dateFormatter.format(date);
    					return format;
    				}
    			});
    date formats changed into whole application
    I don't want it.
    I want to change formatter for concrete DetailViewer

    ____________________
    Regards,
    Paata Lominadzd

    Comment


      #3
      any Idea ??

      ____________________
      Regards,
      Paata Lominadze

      Comment


        #4
        ............

        Comment

        Working...
        X