mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 22:59:03 +00:00
updated favoring style pattern string instead of Style enum for DateTimeFormat
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2304 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ public class MvcNamespaceTests {
|
||||
public static class TestController {
|
||||
|
||||
@RequestMapping
|
||||
public void testBind(@RequestParam @DateTimeFormat(dateStyle=Style.MEDIUM) Date date) {
|
||||
public void testBind(@RequestParam @DateTimeFormat(dateStyle=ISO.MEDIUM) Date date) {
|
||||
System.out.println(date);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user