Subversion Repositories SmartDukaan

Rev

Rev 26193 | Rev 26197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26193 Rev 26194
Line 82... Line 82...
82
        converters.add(new MappingJackson2HttpMessageConverter(objectMapper()));
82
        converters.add(new MappingJackson2HttpMessageConverter(objectMapper()));
83
    }
83
    }
84
	
84
	
85
	@Bean
85
	@Bean
86
	public ObjectMapper objectMapper() {
86
	public ObjectMapper objectMapper() {
87
		DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd[[T][ ]]HH:mm:ss");
87
		DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd[['T'][' ']]HH:mm:ss");
88
		
88
		
89
		DateTimeFormatter sf = new DateTimeFormatterBuilder()
89
		DateTimeFormatter sf = new DateTimeFormatterBuilder()
90
				.parseCaseInsensitive()
90
				.parseCaseInsensitive()
91
				.append(DateTimeFormatter.ISO_LOCAL_DATE)
91
				.append(DateTimeFormatter.ISO_LOCAL_DATE)
92
				.appendLiteral('T')
92
				.appendLiteral('T')