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

Incorrect default timestamp precision #94

Open
osipovartem opened this issue Jan 3, 2025 · 1 comment
Open

Incorrect default timestamp precision #94

osipovartem opened this issue Jan 3, 2025 · 1 comment

Comments

@osipovartem
Copy link

osipovartem commented Jan 3, 2025

source 1
source 2
source 3

  #[builder(
      default = "SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_micros() as i64"
  )]
  /// Timestamp in milliseconds from the unix epoch when the table was last updated.
  pub last_updated_ms: i64,

Should be changed to .as_millis()

@JanKaul
Copy link
Owner

JanKaul commented Jan 3, 2025

Thanks a lot for reporting the issue. I'll fix it as soon as possible.

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