camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <mlybar...@gmail.com>
Subject date function source
Date Wed, 17 Aug 2016 13:20:19 GMT
i have a camel route that uses a date function:

.setProperty("dateNow",simple("${date:now:HHmmssSSS}"))
.log("dateNow:${property.dateNow}")

I'm curious what controls the date stamp here.  on some systems, it uses
clock time, and on some it uses gmt time.  on my windows system, it uses
clock time, on one RHEL system it uses clock time, on serveral other RHEL
systems, it uses gmt time.

java has user.timezone set on all the systems, on RHEL, it is US/Eastern,
and on my windows workstation, it is America/New_York.

thanks!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message