Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
837588c6
Commit
837588c6
authored
Jan 06, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jan 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Pad the month and day to two digits.
parent
d316a94e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
action.c
dlls/msi/action.c
+1
-1
install.c
dlls/msi/tests/install.c
+1
-1
No files found.
dlls/msi/action.c
View file @
837588c6
...
...
@@ -3978,7 +3978,7 @@ static UINT ACTION_RegisterProduct(MSIPACKAGE *package)
{
'P'
,
'r'
,
'o'
,
'd'
,
'u'
,
'c'
,
't'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
SYSTEMTIME
systime
;
static
const
WCHAR
date_fmt
[]
=
{
'%'
,
'i'
,
'%'
,
'
i'
,
'%
'
,
'i'
,
0
};
static
const
WCHAR
date_fmt
[]
=
{
'%'
,
'i'
,
'%'
,
'
0'
,
'2'
,
'i'
,
'%'
,
'0'
,
'2
'
,
'i'
,
0
};
LPWSTR
upgrade_code
;
WCHAR
szDate
[
9
];
...
...
dlls/msi/tests/install.c
View file @
837588c6
...
...
@@ -1922,7 +1922,7 @@ static void get_date_str(LPSTR date)
{
SYSTEMTIME
systime
;
static
const
char
date_fmt
[]
=
"%d%
d%
d"
;
static
const
char
date_fmt
[]
=
"%d%
02d%02
d"
;
GetLocalTime
(
&
systime
);
sprintf
(
date
,
date_fmt
,
systime
.
wYear
,
systime
.
wMonth
,
systime
.
wDay
);
}
...
...
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