Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
501ac4d4
Commit
501ac4d4
authored
Dec 19, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Match a timezone change happening at 23:59:59 with the following day.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53595
parent
29b437a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
system.c
dlls/ntdll/unix/system.c
+5
-0
No files found.
dlls/ntdll/unix/system.c
View file @
501ac4d4
...
...
@@ -2039,6 +2039,11 @@ static BOOL match_tz_date( const RTL_SYSTEM_TIME *st, const RTL_SYSTEM_TIME *reg
if
(
!
reg_st
->
wYear
)
/* date in a day-of-week format */
wDay
=
weekday_to_mday
(
st
->
wYear
-
1900
,
reg_st
->
wDay
,
reg_st
->
wMonth
-
1
,
reg_st
->
wDayOfWeek
);
/* special case for 23:59:59.999, match with 0:00:00.000 on the following day */
if
(
!
reg_st
->
wYear
&&
reg_st
->
wHour
==
23
&&
reg_st
->
wMinute
==
59
&&
reg_st
->
wSecond
==
59
&&
reg_st
->
wMilliseconds
==
999
)
return
(
st
->
wDay
==
wDay
+
1
&&
!
st
->
wHour
&&
!
st
->
wMinute
&&
!
st
->
wSecond
&&
!
st
->
wMilliseconds
);
return
(
st
->
wDay
==
wDay
&&
st
->
wHour
==
reg_st
->
wHour
&&
st
->
wMinute
==
reg_st
->
wMinute
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment