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 still uses deprecated APIs #380

Open
LiliWeiSE opened this issue May 11, 2017 · 2 comments
Open

App still uses deprecated APIs #380

LiliWeiSE opened this issue May 11, 2017 · 2 comments
Assignees
Labels
bug A bug! Fixing it is a priority

Comments

@LiliWeiSE
Copy link

Hi,

I just noticed that class android.text.format.Time is used at many places. Eg, line 345 in MonthView.java, line 89 in MonthAdapter, etc.

This class has been deprecated for multiple problems (see: https://developer.android.com/reference/android/text/format/Time.html)

Although it may not induce problems for now, I think it'd better to use other alternative classes to avoid future bugs.

Thanks!

@licaon-kter
Copy link

Yeah, so many issue, great app, too bad it's not developed anymore.

Check out Orgzly, they already merged reminders o I guess I'll jump ship. BTW, you can import these notes in Orgzly, albeit with a caveat that I forget now.

@CampelloManuel CampelloManuel reopened this Jan 6, 2023
@CampelloManuel CampelloManuel added the secondary Trivial or impactful, this feature is NOT a priority label Jan 7, 2023
@CampelloManuel
Copy link
Collaborator

Google recommends using GregorianCalendar https://developer.android.com/reference/java/util/GregorianCalendar instead of android.text.format.Time which we use. A limit of that class is that it can't represent dates after 2038. So replacing Time is important, even more than other deprecated classes used in the codebase

@CampelloManuel CampelloManuel added bug A bug! Fixing it is a priority and removed secondary Trivial or impactful, this feature is NOT a priority labels Jan 13, 2024
@CampelloManuel CampelloManuel self-assigned this Jan 13, 2024
@CampelloManuel CampelloManuel changed the title Class android.text.format.Time has been deprecated since API 22 App still uses deprecated APIs Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug! Fixing it is a priority
Projects
None yet
Development

No branches or pull requests

4 participants