Fixed wrong month reported in datetime
This commit is contained in:
parent
9bcb98a9aa
commit
dc79b9296c
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ def GetModemSignalInfo():
|
|||
def GetDateTime():
|
||||
now = datetime.now()
|
||||
mtkCmd.DateTimeInfo(int(now.strftime('%d')),
|
||||
int(now.strftime('%m')),
|
||||
int(now.strftime('%m'))-1,
|
||||
int(now.strftime('%Y')),
|
||||
int(now.strftime('%H')),
|
||||
int(now.strftime('%M')),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue