File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
8
+ ## [ v0.3.11] - 2024-11-01
9
+ ### Fixed
10
+ - Deprecation warning for ` datetime.utcnow() `
11
+
8
12
## [ v0.3.10] - 2024-10-16
9
13
### Security
10
14
- Bump certifi minimum version to 2024.07.04
Original file line number Diff line number Diff line change 1
- __version__ = 'v0.3.10 '
1
+ __version__ = 'v0.3.11 '
Original file line number Diff line number Diff line change 12
12
13
13
def format_utc_time () -> str :
14
14
"Get the current UTC time, formatted for a security timestamp"
15
- now = datetime .datetime .utcnow ( )
15
+ now = datetime .datetime .now ( datetime . timezone . utc )
16
16
return now .strftime ("%Y%m%d-%H%M" )
17
17
18
18
You can’t perform that action at this time.
0 commit comments