Skip to content

How to work with timezones with Scala and Docker and how to process messages that have a timezone embedded

License

Notifications You must be signed in to change notification settings

dnvriend/docker-timezone-test

Repository files navigation

docker-timezone-test

Shows how to package your docker application and how to handle timezones and time correctly.

Postgres

To find out the timezone its using:

show timezone;
> Europe/Amsterdam

select current_timestamp;
> 2015-04-22 08:07:32.986855

-- format as ISO-8601
select to_char(now() at time zone 'UTC', 'YYYY-MM-DDHH"T"24:MM:SS.MS"Z"')
> 2015-04-2206T24:04:55.144Z

About

How to work with timezones with Scala and Docker and how to process messages that have a timezone embedded

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published