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

会显示一分之后,是什么原因 #37

Open
shenggen1987 opened this issue Aug 20, 2021 · 1 comment
Open

会显示一分之后,是什么原因 #37

shenggen1987 opened this issue Aug 20, 2021 · 1 comment

Comments

@shenggen1987
Copy link

int elapsed = _locTimeMs - ms;
String suffix;
if (elapsed < 0) {
suffix = _info.suffixAfter();
// suffix after is empty. user just now.
if (suffix.isNotEmpty) {
elapsed = elapsed.abs();
_dayFormat = DayFormat.Simple;
} else {
return _info.lessThanOneMinute();
}
}

@supermebing
Copy link

解决了吗

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

No branches or pull requests

2 participants