electron: fix update script (#434548)

Yureka a04bd81e ea838bf1

Changed files
+1 -1
pkgs
development
tools
electron
+1 -1
pkgs/development/tools/electron/update.py
···
.split(")]}'\n")[1]
)
-
gn_commit_date = datetime.strptime(gn_commit_info["commiter"]["time"], "%a %b %d %H:%M:%S %Y %z")
+
gn_commit_date = datetime.strptime(gn_commit_info["committer"]["time"], "%a %b %d %H:%M:%S %Y %z")
gn_date = gn_commit_date.astimezone(UTC).date().isoformat()
gn_version = f"0-unstable-{gn_date}"