spf13 / cobra-cli

Cobra CLI tool to generate applications and commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discrepancy between DBTIMEZONE and SYSTIMESTAMP

denissun opened this issue · comments

How to make the following WARNING gone?

godror WARNING: discrepancy between DBTIMEZONE ("+00:00"=0) and SYSTIMESTAMP ("-05:00"=-500) - set connection timezone, see https://github.com/godror/godror/blob/master/doc/timezone.md

I tried to play with Timezone in CommonParms, don't know if this is right place to set up something and if so what correct value here

``
39 CommonParams: dsn.CommonParams{
40 Username: p_username,
41 Password: dsn.NewPassword(p_password),
42 ConnectString: connString,
43 // Timezone: time.FixedZone("UTC-5", -55050), // need to figure out what is the correct value

This issue is being marked as stale due to a long period of inactivity