Skip to content

Replace use of Duration for timestamps with an actual timestamp, e.g. chrono::DateTime #4729

Open
@0x009922

Description

@0x009922

In some places in iroha_data_model, structures use Duration for data which doesn't mean a span of time, but actually means a timestamp. Examples:

These fields are timestamps, not time spans.

I propose to use a structure that is designed specifically for timestamps, e.g. chrono::DateTime.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions