mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +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 |         //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")); |         dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); | ||||||
|         final String UTC_FormattedDate = dateFormat.format(new Date()); |         final String UTC_FormattedDate = dateFormat.format(new Date()); | ||||||
| 
 | 
 | ||||||
|  | @ -49,7 +49,7 @@ public class FeedbackContentCreator { | ||||||
|         sectionTitleBuilder.append(" on "); |         sectionTitleBuilder.append(" on "); | ||||||
|         sectionTitleBuilder.append(UTC_FormattedDate); |         sectionTitleBuilder.append(UTC_FormattedDate); | ||||||
| 
 | 
 | ||||||
|         /* |         /*of  | ||||||
|          * Construct the feedback section text |          * Construct the feedback section text | ||||||
|          */ |          */ | ||||||
|         sectionTextBuilder = new StringBuilder(); |         sectionTextBuilder = new StringBuilder(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ujjwal2900
						ujjwal2900