mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add tauri build config (#1717)
Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
@ -120,7 +120,7 @@ mod tests {
|
||||
#[test]
|
||||
fn utc_to_native_test() {
|
||||
let native_timestamp = 1647251762;
|
||||
let native = NaiveDateTime::from_timestamp(native_timestamp, 0);
|
||||
let native = NaiveDateTime::from_timestamp_opt(native_timestamp, 0).unwrap();
|
||||
|
||||
let utc = chrono::DateTime::<chrono::Utc>::from_utc(native, chrono::Utc);
|
||||
// utc_timestamp doesn't carry timezone
|
||||
|
Reference in New Issue
Block a user