facebook

where modify date format

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #320324 Reply

    in the server side of my application, the date type is Timestamp, instead on the client side (Gwt Scaffolding) date type is DatePoser so ,when i run my application, in the views dates appear like “Tue Jun 14 18:35:45 GMT+200 2011”.

    if i change a specific view with this code:

    @Override
        public String getValue(AziendaProxy object) {
        return DateTimeFormat.getShortDateFormat().format(object.getDataInserimento());
        }

    date appears like “2009-03-26″… that’s how i want !

    anyway i want know where i have to add this code for changing date type in all views?
    i’ve tried to change GWTAdapter class… but it doesn’t work.

    I wait your suggestion.

Viewing 1 post (of 1 total)
Reply To: where modify date format

You must be logged in to post in the forum log in