Skip to content

civil: functions to check if Date, Time and DateTime is empty is not present #4727

@Qalifah

Description

@Qalifah

At some point in my code, i needed to check if Date and Time is empty (all the fields in it have the zero value of their type) and i realized that there are no implementation for that, i would need to check all the fields in the Date and Time structs which i feel isn't the best option. I think there should be a function to handle that.

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions