----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44548/#review122763 -----------------------------------------------------------
Actually, in the case where you control the domain object, you should really be able to annotate dates with an appropriate Jackson annotation. For example: `@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm a z")`. Ultimately, we really need to provide a complete solution where custom Object Mappeing can be defined. - Jens Deppe On March 9, 2016, 1:47 a.m., Jianxia Chen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/44548/ > ----------------------------------------------------------- > > (Updated March 9, 2016, 1:47 a.m.) > > > Review request for geode, Bruce Schuchardt, Hitesh Khamesra, and Udo > Kohlmeyer. > > > Repository: geode > > > Description > ------- > > Try a different date format which is ISO-8601. Now the date format is > configurable by calling PdxInstance.setDateFormat. By default, it is > "mm/dd/yyyy". > > > Diffs > ----- > > > geode-assembly/src/test/java/com/gemstone/gemfire/rest/internal/web/controllers/DateTimeUtils.java > 3a92df3 > > geode-assembly/src/test/java/com/gemstone/gemfire/rest/internal/web/controllers/RestAPIsAndInterOpsDUnitTest.java > 0245fa0 > geode-core/src/main/java/com/gemstone/gemfire/pdx/PdxInstance.java 7f6b831 > geode-core/src/main/java/com/gemstone/gemfire/pdx/internal/EnumInfo.java > 1240ad1 > > geode-core/src/main/java/com/gemstone/gemfire/pdx/internal/PdxInstanceEnum.java > 90410ee > > geode-core/src/main/java/com/gemstone/gemfire/pdx/internal/PdxInstanceImpl.java > fa7b961 > > geode-core/src/main/java/com/gemstone/gemfire/pdx/internal/WritablePdxInstanceImpl.java > bb159e7 > geode-core/src/test/java/com/gemstone/gemfire/CopyJUnitTest.java 1af9f71 > > Diff: https://reviews.apache.org/r/44548/diff/ > > > Testing > ------- > > > Thanks, > > Jianxia Chen > >
