Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App could not load a repository page #449

Open
2 tasks done
BreadKat0707 opened this issue Dec 31, 2023 · 1 comment
Open
2 tasks done

App could not load a repository page #449

BreadKat0707 opened this issue Dec 31, 2023 · 1 comment
Assignees
Labels
bug This issue is related to a bug in the app.

Comments

@BreadKat0707
Copy link

Before you start

  • Have you updated FluentHub? You might be using an old version.
  • Have you checked if a similar issue has already been reported?

What version of Windows is this issue present?

Windows 11 Dev

What version/architecture of FluentHub are you on?

0.8.60.0 | X64 | RELEASE

Description

When I try to open a repository, the page content flashes and then says Something went wrong string "time" was not recognized as a valid datetime
图片

Steps To Reproduce

No response

Expected behavior

Successfully open a repo page

Stack Trace

Stack trace details

at System.DateTimeOffset.Parse(String input)
at FluentHub.Octokit.Queries.Repositories.TreeQueries.GetWithObjectNameAsync(String name, String owner, String refs, String path)
at FluentHub.App.ViewModels.Repositories.Codes.DetailsLayoutViewModel.LoadRepositoryContentsAsync(String login, String name, String branch, String path)
at FluentHub.App.ViewModels.Repositories.Codes.DetailsLayoutViewModel.LoadDetailsViewPageAsync()

Assets

2023-12-31 22:18:50.777 +08:00 [ERR] LoadRepositoryContentsAsync
System.FormatException: String '2023.12.31.星期日 上午 08:28:59' was not recognized as a valid DateTime.
at System.DateTimeOffset.Parse(String input)
at FluentHub.Octokit.Queries.Repositories.TreeQueries.GetWithObjectNameAsync(String name, String owner, String refs, String path)
at FluentHub.App.ViewModels.Repositories.Codes.DetailsLayoutViewModel.LoadRepositoryContentsAsync(String login, String name, String branch, String path)
at FluentHub.App.ViewModels.Repositories.Codes.DetailsLayoutViewModel.LoadDetailsViewPageAsync()
2023-12-31 22:20:18.782 +08:00 [ERR] LoadRepositoryContentsAsync
System.FormatException: String '2023.03.29.星期三 上午 10:04:46' was not recognized as a valid DateTime.
at System.DateTimeOffset.Parse(String input)
at FluentHub.Octokit.Queries.Repositories.TreeQueries.GetWithObjectNameAsync(String name, String owner, String refs, String path)
at FluentHub.App.ViewModels.Repositories.Codes.DetailsLayoutViewModel.LoadRepositoryContentsAsync(String login, String name, String branch, String path)
at FluentHub.App.ViewModels.Repositories.Codes.DetailsLayoutViewModel.LoadDetailsViewPageAsync()

@BreadKat0707 BreadKat0707 added the bug This issue is related to a bug in the app. label Dec 31, 2023
@0x5bfa
Copy link
Owner

0x5bfa commented Jan 11, 2024

Thank you for the feedback. I guess Chinese version date time string is not recognized as a valid DataTime conversion target. I'm gonna investigate the cause and fix, but note that I don't have much time these days.

@0x5bfa 0x5bfa self-assigned this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is related to a bug in the app.
Projects
None yet
Development

No branches or pull requests

2 participants