Skip to content

Commit b0378c8

Browse files
authored
Update gen_pio_frmwk_manifest.py
1 parent 0fd83cf commit b0378c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/gen_pio_frmwk_manifest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import os
44
import re
55
import sys
6+
import datetime
67

78
MANIFEST_DATA = {
89
"name": "framework-arduinoespressif32",
@@ -48,7 +49,7 @@ def main(dst_dir, version_string, commit_hash):
4849
return -1
4950

5051
manifest_file_path = os.path.join(dst_dir, "package.json")
51-
build_date = $(date -I)
52+
build_date = datetime.date.today()
5253
with open(manifest_file_path, "w", encoding="utf8") as fp:
5354
MANIFEST_DATA["version"] = f"{converted_version}+sha.{commit_hash}"
5455
MANIFEST_DATA["date"] = f"{build_date}"

0 commit comments

Comments
 (0)