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

cross compile for aarch64 still get Utc time even though on Local #621

Closed
dobefore opened this issue Nov 12, 2021 · 2 comments
Closed

cross compile for aarch64 still get Utc time even though on Local #621

dobefore opened this issue Nov 12, 2021 · 2 comments

Comments

@dobefore
Copy link

native build works perfect,its stuck on Utc time,Is there a better method to pick? thanks

  let local=Local::now();
       let l= format!("{:02}:{:02}", local.hour(), local.minute());
  let utc=Utc::now();
  let u= format!("{:02}:{:02}", utc.hour(), utc.minute());
println!("Local {}",&l);
println!("Utc {}",&u);

output from Android termux(shell)

Local 09:21
Utc 09:21
@dae
Copy link

dae commented Dec 23, 2022

This is probably related to #922.

@djc
Copy link
Contributor

djc commented Mar 3, 2023

Going to close this as a duplicate.

@djc djc closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2023
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

3 participants