Commit 8ad10f7
authored
Fix python 3.12 deprecation warning (#3751)
* Fix python 3.12 deprecation warning
utcfromtimestamp is deprecated replace
with fromtimestamp with explict UTC timezone
See https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp
* add changelog for 37511 parent 216411f commit 8ad10f7
File tree
2 files changed
+6
-1
lines changed- opentelemetry-sdk/src/opentelemetry/sdk/util
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments