Liking cljdoc? Tell your friends :D
Clojure only.

metabase.sync.sync-metadata.sync-timezone


sync-timezone!clj

(sync-timezone! database)

Inputs: [database :- i/DatabaseInstance]

Query database for it' current time to determine its timezone. The results of this function are used by the sync process to update the timezone if it's different.

Catches and logs Exceptions if querying for current timezone fails. Returns timezone as {:timezone-id <timezone>} upon success, nil if query failed.

Inputs: [database :- i/DatabaseInstance]

Query `database` for it' current time to determine its timezone. The results of this function are used by the sync
process to update the timezone if it's different.

Catches and logs Exceptions if querying for current timezone fails. Returns timezone as `{:timezone-id <timezone>}`
upon success, `nil` if query failed.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close