Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CampelloManuel committed May 1, 2024
1 parent 8cf86e4 commit 572db41
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/src/main/java/com/nononsenseapps/helpers/TimeFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,19 +239,19 @@ public static SimpleDateFormat getLocalFormatterMicro(final Context context) {
*/
public static SimpleDateFormat getLocalFormatterWeekday(final Context context) {
return getLocalFormatter(context,
PreferenceManager.getDefaultSharedPreferences(context)
PreferenceManager
.getDefaultSharedPreferences(context)
.getString(context.getString(R.string.pref_locale), ""),
context.getString(R.string.dateformat_weekday));
}

/**
* Good for performance critical situations, like lists
*/
public static SimpleDateFormat getLocalFormatterWeekdayShort(
final Context context) {
return getLocalFormatter(
context,
PreferenceManager.getDefaultSharedPreferences(context)
public static SimpleDateFormat getLocalFormatterWeekdayShort(final Context context) {
return getLocalFormatter(context,
PreferenceManager
.getDefaultSharedPreferences(context)
.getString(context.getString(R.string.pref_locale), ""),
WEEKDAY_SHORTEST_FORMAT);
}
Expand Down

0 comments on commit 572db41

Please sign in to comment.