core icon indicating copy to clipboard operation
core copied to clipboard

DateViewWebAPI.friendly with locale

Open hmboonstra opened this issue 12 years ago • 1 comments

We would like to use the friendly method provided by the DateViewWebAPI, but in another locale than that of the default user of the default company. Would it be possible to get an aditional method, e.g.

public static String friendly(Date date, Locale locale) {
    return DateUtil.prettyDateSince(date, locale);
}

on the DateViewWebAPI, since the DateUtil already provides the parameter to pass the locale?

hmboonstra avatar Mar 17 '14 14:03 hmboonstra

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 29 '19 15:09 stale[bot]