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
0e9431b8
Commit
0e9431b8
authored
Dec 13, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix _strdate implementation in Hindi locale.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a4f86cbf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
time.c
dlls/msvcrt/time.c
+12
-1
No files found.
dlls/msvcrt/time.c
View file @
0e9431b8
...
@@ -538,7 +538,18 @@ struct tm* CDECL _gmtime32(const __time32_t* secs)
...
@@ -538,7 +538,18 @@ struct tm* CDECL _gmtime32(const __time32_t* secs)
*/
*/
char
*
CDECL
_strdate
(
char
*
date
)
char
*
CDECL
_strdate
(
char
*
date
)
{
{
GetDateFormatA
(
LOCALE_NEUTRAL
,
0
,
NULL
,
"MM'/'dd'/'yy"
,
date
,
9
);
SYSTEMTIME
st
;
GetLocalTime
(
&
st
);
date
[
0
]
=
'0'
+
st
.
wMonth
/
10
;
date
[
1
]
=
'0'
+
st
.
wMonth
%
10
;
date
[
2
]
=
'/'
;
date
[
3
]
=
'0'
+
st
.
wDay
/
10
;
date
[
4
]
=
'0'
+
st
.
wDay
%
10
;
date
[
5
]
=
'/'
;
date
[
6
]
=
'0'
+
st
.
wYear
/
10
%
10
;
date
[
7
]
=
'0'
+
st
.
wYear
%
10
;
date
[
8
]
=
0
;
return
date
;
return
date
;
}
}
...
...
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