Formatting tweak.
This commit is contained in:
@@ -384,8 +384,7 @@ public class MustacheTest
|
|||||||
if (value instanceof Date) return _fmt.format((Date)value);
|
if (value instanceof Date) return _fmt.format((Date)value);
|
||||||
else return String.valueOf(value);
|
else return String.valueOf(value);
|
||||||
}
|
}
|
||||||
protected SimpleDateFormat _fmt = new SimpleDateFormat("yyyy/MM/dd");
|
protected SimpleDateFormat _fmt = new SimpleDateFormat("yyyy/MM/dd"); {
|
||||||
{
|
|
||||||
_fmt.setTimeZone(TimeZone.getTimeZone("UTC"));
|
_fmt.setTimeZone(TimeZone.getTimeZone("UTC"));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user