mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 09:57:41 +03:00 
			
		
		
		
	Update datetime.py
Restore ios8601 handling per https://github.com/graphql-python/graphene/pull/152/files
This commit is contained in:
		
							parent
							
								
									c961f0b3c6
								
							
						
					
					
						commit
						9231e0d28d
					
				| 
						 | 
				
			
			@ -36,4 +36,4 @@ class DateTime(Scalar):
 | 
			
		|||
 | 
			
		||||
    @staticmethod
 | 
			
		||||
    def parse_value(value):
 | 
			
		||||
        return datetime.datetime.strptime(value, "%Y-%m-%dT%H:%M:%S.%f")
 | 
			
		||||
        return iso8601.parse_date(value)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user