{"id":20342451,"url":"https://github.com/albert221/rfc_3339_date_time_serializer","last_synced_at":"2025-10-05T18:27:23.290Z","repository":{"id":56838221,"uuid":"222941073","full_name":"Albert221/rfc_3339_date_time_serializer","owner":"Albert221","description":"RFC 3339 DateTime serializer for built_value.","archived":false,"fork":false,"pushed_at":"2019-11-21T01:44:18.000Z","size":10,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T19:41:49.889Z","etag":null,"topics":["built-value","dart","datetime","encoding"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/rfc_3339_date_time_serializer","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Albert221.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-20T13:14:32.000Z","updated_at":"2020-02-05T08:36:45.000Z","dependencies_parsed_at":"2022-09-10T03:32:05.115Z","dependency_job_id":null,"html_url":"https://github.com/Albert221/rfc_3339_date_time_serializer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albert221%2Frfc_3339_date_time_serializer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albert221%2Frfc_3339_date_time_serializer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albert221%2Frfc_3339_date_time_serializer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albert221%2Frfc_3339_date_time_serializer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albert221","download_url":"https://codeload.github.com/Albert221/rfc_3339_date_time_serializer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497890,"owners_count":21113984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["built-value","dart","datetime","encoding"],"created_at":"2024-11-14T21:35:28.462Z","updated_at":"2025-10-05T18:27:23.208Z","avatar_url":"https://github.com/Albert221.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rfc_3339_date_time_serializer\n\nAn `RFC3339DateTimeSerializer` serializer class for [built_value], created to address [the issue][issue] about Dart's `DateTime.parse` not working with RFC 3339.\n\n## Why is this package needed?\n\nISO 8601 has a character limit for _time-secfrac_ part equal to 6. RFC 3339 does not have that limit. Thanks to this, datetimes introducing more than 6 characters in _time-secfrac_ are invalid for `DateTime.parse`, because it works only with ISO 8601.\n\nFor example, Go's `encoding/json` serializes dates with 7 _time-secfrac_ characters.\n\n## Usage\n\nIn your `serializers.dart`:\n\n```dart\nimport 'rfc_3339_date_time_serializer/rfc_3339_date_time_serializer.dart';\n\n@SerializersFor(const [/* (...) */])\nfinal Serializers modelsSerializers = (_$modelsSerializers.toBuilder()\n      ..addPlugin(StandardJsonPlugin())\n      ..add(RFC3339DateTimeSerializer())) // this is the line you need to add\n    .build();\n```\n\n\n[built_value]: https://pub.dev/packages/built_value\n[issue]: https://github.com/dart-lang/sdk/issues/24205","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbert221%2Frfc_3339_date_time_serializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbert221%2Frfc_3339_date_time_serializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbert221%2Frfc_3339_date_time_serializer/lists"}