fix date (#6545)
This commit is contained in:
		
							parent
							
								
									c920c8e32b
								
							
						
					
					
						commit
						5fe32a19fd
					
				| @ -5,7 +5,7 @@ ext { | |||||||
|     extName = 'Readmanga' |     extName = 'Readmanga' | ||||||
|     pkgNameSuffix = 'ru.readmanga' |     pkgNameSuffix = 'ru.readmanga' | ||||||
|     extClass = '.Readmanga' |     extClass = '.Readmanga' | ||||||
|     extVersionCode = 24 |     extVersionCode = 25 | ||||||
|     libVersion = '1.2' |     libVersion = '1.2' | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -198,7 +198,7 @@ class Readmanga : ParsedHttpSource() { | |||||||
|             chapter.name = chapter.name.substringAfter("…").trim() |             chapter.name = chapter.name.substringAfter("…").trim() | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         chapter.date_upload = element.select("td.hidden-xxs").last()?.text()?.let { |         chapter.date_upload = element.select("td.d-none").last()?.text()?.let { | ||||||
|             try { |             try { | ||||||
|                 SimpleDateFormat("dd.MM.yy", Locale.US).parse(it)?.time ?: 0L |                 SimpleDateFormat("dd.MM.yy", Locale.US).parse(it)?.time ?: 0L | ||||||
|             } catch (e: ParseException) { |             } catch (e: ParseException) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Eugene
						Eugene