fix(updater): format Update.date to RFC 3339 (#2573)

* fix(updater): format `Update.date` to RFC 3339

* Messed up on argument in #2572

* Format

* Update example

* Avoid extra to_string

* Deprecate `Update.available`
This commit is contained in:
Tony authored and GitHub committed 2025-03-29 08:36:50 +08:00
1 parent 0bc5d58874
commit 2d731f8022
7 files changed
+47 -28

No files matched your search

+2 -1
View File
@@ -310,7 +310,8 @@ impl UpdaterBuilder {
I: IntoIterator<Item = S>,
S: Into<OsString>,
{
self.installer_args.extend(args.into_iter().map(Into::into));
self.current_exe_args
.extend(args.into_iter().map(Into::into));
self
}
}