#NEWLINE# def _has_changed( self , initial , data ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# input_format = get_format ( 'DATE_INPUT_FORMATS' ) [ 0 ] #NEWLINE# data = datetime_safe . datetime . strptime ( data , input_format ) . date ( ) #NEWLINE# #UNINDENT# except ( TypeError , ValueError ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return super ( SelectDateWidget , self ) . _has_changed ( initial , data )