While developing for mobile platform which is the right place to do formatting for numbers and dates?

Number and date formatting seems to be easier in Java than Javascript. Is it better to send date as standard format from server and format at client or send nicely formated date from server? 

Also, if multiple date formats are supposed to be displayed at few places, is it ok for server to send couple of date strings, each formated in one pattern?