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
40cd8463
Commit
40cd8463
authored
Apr 11, 2000
by
Ulrich Czekalla
Committed by
Alexandre Julliard
Apr 11, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_ILGetFileDate should convert the date to local time before generating
the string (_ILGetFileDateTime does not).
parent
50b5c29e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pidl.c
dlls/shell32/pidl.c
+3
-2
No files found.
dlls/shell32/pidl.c
View file @
40cd8463
...
@@ -1555,12 +1555,13 @@ BOOL _ILGetFileDateTime(LPCITEMIDLIST pidl, FILETIME *pFt)
...
@@ -1555,12 +1555,13 @@ BOOL _ILGetFileDateTime(LPCITEMIDLIST pidl, FILETIME *pFt)
BOOL
_ILGetFileDate
(
LPCITEMIDLIST
pidl
,
LPSTR
pOut
,
UINT
uOutSize
)
BOOL
_ILGetFileDate
(
LPCITEMIDLIST
pidl
,
LPSTR
pOut
,
UINT
uOutSize
)
{
{
FILETIME
ft
;
FILETIME
ft
,
lft
;
SYSTEMTIME
time
;
SYSTEMTIME
time
;
if
(
!
_ILGetFileDateTime
(
pidl
,
&
ft
))
return
FALSE
;
if
(
!
_ILGetFileDateTime
(
pidl
,
&
ft
))
return
FALSE
;
FileTimeToSystemTime
(
&
ft
,
&
time
);
FileTimeToLocalFileTime
(
&
ft
,
&
lft
);
FileTimeToSystemTime
(
&
lft
,
&
time
);
return
GetDateFormatA
(
LOCALE_USER_DEFAULT
,
DATE_SHORTDATE
,
&
time
,
NULL
,
pOut
,
uOutSize
);
return
GetDateFormatA
(
LOCALE_USER_DEFAULT
,
DATE_SHORTDATE
,
&
time
,
NULL
,
pOut
,
uOutSize
);
}
}
...
...
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