mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-01 15:23:54 +01:00
Change the UTC Date format to yyyy/MM/dd HH:mm:ss
This commit is contained in:
parent
e2cb091a04
commit
dac6474d32
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ public class FeedbackContentCreator {
|
|||
*/
|
||||
|
||||
//Get the UTC Date and Time and add it to the Title
|
||||
final SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy", Locale.ENGLISH);
|
||||
final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss", Locale.ENGLISH);
|
||||
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||
final String UTC_FormattedDate = dateFormat.format(new Date());
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ public class FeedbackContentCreator {
|
|||
sectionTitleBuilder.append(" on ");
|
||||
sectionTitleBuilder.append(UTC_FormattedDate);
|
||||
|
||||
/*
|
||||
/*of
|
||||
* Construct the feedback section text
|
||||
*/
|
||||
sectionTextBuilder = new StringBuilder();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue