aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/java/com/juick/www/configuration
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-12-10 21:00:14 +0700
committerGravatar Vitaly Takmazov2016-12-11 18:24:37 +0300
commit0cbdc4ecb927b7ab068e5833caefbba65c9aa87a (patch)
tree284267d6ebcf20e3f6d49e1e272443a55b450444 /juick-spring-www/src/main/java/com/juick/www/configuration
parenta110dea4804dd1011899a909612ba92e2807718a (diff)
caching date formatter
Diffstat (limited to 'juick-spring-www/src/main/java/com/juick/www/configuration')
-rw-r--r--juick-spring-www/src/main/java/com/juick/www/configuration/WwwServletConfiguration.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-spring-www/src/main/java/com/juick/www/configuration/WwwServletConfiguration.java b/juick-spring-www/src/main/java/com/juick/www/configuration/WwwServletConfiguration.java
index 9a2bb1d4..2eb39e1c 100644
--- a/juick-spring-www/src/main/java/com/juick/www/configuration/WwwServletConfiguration.java
+++ b/juick-spring-www/src/main/java/com/juick/www/configuration/WwwServletConfiguration.java
@@ -2,7 +2,7 @@ package com.juick.www.configuration;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
-import com.juick.www.formatter.DateFormatter;
+import com.juick.www.formatter.SpringDateFormatter;
import nz.net.ultraq.thymeleaf.LayoutDialect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
@@ -122,7 +122,7 @@ public class WwwServletConfiguration extends WebMvcConfigurationSupport {
}
@Bean
- public DateFormatter dateFormatter() {
- return new DateFormatter();
+ public SpringDateFormatter dateFormatter() {
+ return new SpringDateFormatter();
}
}