Skip to content

feat: configure timezone for driver instance #452

@asmyasnikov

Description

@asmyasnikov

Related ticket https://st.yandex-team.ru/YDBREQUESTS-1158

Example of target code

db, err := ydb.Open(ctx, "dsn", ydb.WithTimezone(time.UTC))

or

db, err := ydb.Open(ctx, "dsn", ydb.With(config.WithTimezone(time.UTC)))

this option defines all time converters from/to ydb value

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions