mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-06 16:26:31 +00:00
added header message containing information about the user the mod mail thread has been opened for
This commit is contained in:
@@ -31,9 +31,9 @@ public class InstantMethod implements TemplateMethodModelEx {
|
||||
}
|
||||
|
||||
String formatString = ((SimpleScalar) arguments.get(1)).getAsString();
|
||||
Instant duration = (Instant) wrappedObject;
|
||||
Instant timeStamp = (Instant) wrappedObject;
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(formatString)
|
||||
.withZone(ZoneId.systemDefault());
|
||||
return formatter.format(duration);
|
||||
return formatter.format(timeStamp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user