Announcement

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

  • Isomorphic
    replied
    The 'dateDisplayFormat' was indeed broken for dateRangeItems. We've now fixed this - the fix will show up in nightly builds going forward.

    In terms of localization see the i18n package (SmartGWTMessages interface).
    The titles for the various "relative" dates (today, yesterday etc) are governed by the 'relativeDateItem_todayTitle' etc.

    Leave a comment:


  • gorfin86
    replied
    I have similar problem.
    DateRangeItem should be fully localized. It's regarding to button's translation, date format.
    It will be wonderful if I have possibility to add icons to the buttons (ok, cancel, clear)

    Leave a comment:


  • sindroide
    replied
    same issue for me...
    another thing is translation of words like "today, tomorrow, etc"

    would you mind giving a hand on this? at least a previos solution thanks!

    Leave a comment:


  • jrich
    replied
    Hello,

    In addition to my previous post we are using smartgwt 2.3.

    The code running is as follows:

    final DateRangeItem rangeItem = new DateRangeItem("orderDate");
    rangeItem.setValue(dateRange);
    rangeItem.setWidth("*");
    rangeItem.setShowTitle(false);
    rangeItem.setAllowRelativeDates(true);
    rangeItem.setDateDisplayFormat(DateDisplayFormat.TOEUROPEANSHORTDATE);
    rangeItem.setDateFormatter(DateDisplayFormat.TOEUROPEANSHORTDATE);

    All dates are showing as MM/dd/yyyy rather than dd/MM/yyyy which is what I would expect and is what we need!

    Any help will be appreciated.

    Thanks
    Jen

    Leave a comment:


  • jrich
    replied
    Hello,

    I am also having the same problem, if you find a fix, please post!!

    Regards
    Jeni

    Leave a comment:


  • dejan
    started a topic DateRangeItem display format

    DateRangeItem display format

    It seems to me that date format on DateRangeItem cannot be changed. I've tried using something like setDateDisplayFormat(DateDisplayFormat.TOEUROPEANSHORTDATE ) and other formats but I always get date formatted as MM/dd/yyyy.

    Am I miss something?
Working...
X