Skip to content

Cleaning up time package api - #321

Open
kaashyapan wants to merge 3 commits into
moonbitlang:mainfrom
kaashyapan:fix-time-api
Open

kaashyapan wants to merge 3 commits into
moonbitlang:mainfrom
kaashyapan:fix-time-api

Conversation

@kaashyapan

Copy link
Copy Markdown
Contributor

Add Json traits to ZonedDateTime.

Cleaup some apis of the time package. add json traits to types missing
them
@kaashyapan

Copy link
Copy Markdown
Contributor Author

All date time types now have similar api and implement the same traits. The api surface has been borrowed from temporal.

The existing ZonedDateTime does not have a complete proper validation and a complete implementation yet. The same has been flagged in the Readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant