Skip to content

Commit

Permalink
Azure#440 Fixed ScheduledEnqueueTimeUtc not working
Browse files Browse the repository at this point in the history
  • Loading branch information
justinhughes committed May 21, 2015
1 parent cd53689 commit 169a0ce
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public BrokerProperties fromString(String value) {

public String toString(BrokerProperties value) {
ObjectMapper mapper = new ObjectMapper();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(
"EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US);
mapper.setDateFormat(simpleDateFormat);
Writer writer = new StringWriter();
try {
mapper.writeValue(writer, value);
Expand Down

0 comments on commit 169a0ce

Please sign in to comment.