Skip to content

Commit

Permalink
docs: Document timezone reversal from POSIX to ISO (#2413)
Browse files Browse the repository at this point in the history
  • Loading branch information
davecramer committed Jan 19, 2022
1 parent f81244f commit 9385985
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -403,6 +403,9 @@ private static void log(Level level, String msg, Throwable thrown, Object... par
/**
* Convert Java time zone to postgres time zone. All others stay the same except that GMT+nn
* changes to GMT-nn and vise versa.
* If you provide GMT+/-nn postgres uses POSIX rules which has a positive sign for west of Greenwich
* JAVA uses ISO rules which the positive sign is east of Greenwich
* To make matters more interesting postgres will always report in ISO
*
* @return The current JVM time zone in postgresql format.
*/
Expand Down

0 comments on commit 9385985

Please sign in to comment.