fix: wrong commit time for manager, outlined chips

This commit is contained in:
Aunali321
2022-08-16 23:19:46 +05:30
parent 106d77ea0c
commit 014450642d
5 changed files with 58 additions and 47 deletions

View File

@ -31,7 +31,9 @@ class GithubAPI {
var repo = await github.repositories.getRepository(
RepositorySlug(org, repoName),
);
pushedAt = repo.pushedAt != null ? format(repo.pushedAt!) : '';
pushedAt = repo.pushedAt != null
? format(repo.pushedAt!, locale: 'en_short')
: '';
} on Exception {
pushedAt = '';
}