mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Back out timezone fix. Not needed in jdbc1.
This commit is contained in:
		@@ -488,13 +488,13 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
 | 
			
		||||
 | 
			
		||||
    SimpleDateFormat df = null;
 | 
			
		||||
 | 
			
		||||
    if (sbuf.length()>23 && subsecond) {
 | 
			
		||||
    if (s.length()>23 && subsecond) {
 | 
			
		||||
      df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSSzzzzzzzzz");
 | 
			
		||||
    } else if (sbuf.length()>23 && !subsecond) {
 | 
			
		||||
    } else if (s.length()>23 && !subsecond) {
 | 
			
		||||
      df = new SimpleDateFormat("yyyy-MM-dd HH:mm:sszzzzzzzzz");
 | 
			
		||||
    } else if (sbuf.length()>10 && subsecond) {
 | 
			
		||||
    } else if (s.length()>10 && subsecond) {
 | 
			
		||||
      df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
 | 
			
		||||
    } else if (sbuf.length()>10 && !subsecond) {
 | 
			
		||||
    } else if (s.length()>10 && !subsecond) {
 | 
			
		||||
      df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
 | 
			
		||||
    } else {
 | 
			
		||||
      df = new SimpleDateFormat("yyyy-MM-dd");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user