There are places in my code where I use Android (not Java) date formatting.
For example:
String header = DateUtils.formatDateTime(context, when, DateUtils.FORMAT_SHOW_DATE
| DateUtils.FORMAT_SHOW_WEEKDAY | DateUtils.FORMAT_ABBREV_WEEKDAY | DateUtils.FORMAT_ABBREV_MONTH);
Or
sWhen = DateUtils.formatDateTime(context, lWhen, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_ALL);
... = DateFormat.is24HourFormat(mContext)
The above snippets are from message list view.
And in message view:
if (DateUtils.isToday(h.when)) {
shortWhen = DateUtils.formatDateTime(context, h.when, DateUtils.FORMAT_SHOW_TIME);
} else {
shortWhen = DateUtils.formatDateTime(context, h.when, DateUtils.FORMAT_SHOW_TIME
| DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_ALL);
}
I wonder if calling these -- Android -- date/time formatting functions has side effects?
Either DateUtils.formatDateTime with some flags, or even DateFormat.is24HourFormat?
As to the "forward" vs. "anon", one is in the icon bar, the other is in the menu -- wonder if there could be subtle timing differences?