(
)
Converts the date
to GitHub's ISO-8601 format:
The format is "YYYY-MM-DDTHH:mm:ssZ"
ImplementationString? dateToGitHubIso8601(DateTime? date) {
if (date == null) {
return null;
}
// Regex removes the milliseconds.
return date.toUtc().toIso8601String().replaceAll(githubDateRemoveRegExp, '');
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4