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
2f2891e5
Commit
2f2891e5
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 _strtime implementation in Hindi locale.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0e9431b8
Hide 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 @
2f2891e5
...
...
@@ -611,7 +611,18 @@ int CDECL _wstrdate_s(wchar_t* date, size_t size)
*/
char
*
CDECL
_strtime
(
char
*
time
)
{
GetTimeFormatA
(
LOCALE_NEUTRAL
,
0
,
NULL
,
"HH':'mm':'ss"
,
time
,
9
);
SYSTEMTIME
st
;
GetLocalTime
(
&
st
);
time
[
0
]
=
'0'
+
st
.
wHour
/
10
;
time
[
1
]
=
'0'
+
st
.
wHour
%
10
;
time
[
2
]
=
':'
;
time
[
3
]
=
'0'
+
st
.
wMinute
/
10
;
time
[
4
]
=
'0'
+
st
.
wMinute
%
10
;
time
[
5
]
=
':'
;
time
[
6
]
=
'0'
+
st
.
wSecond
/
10
;
time
[
7
]
=
'0'
+
st
.
wSecond
%
10
;
time
[
8
]
=
0
;
return
time
;
}
...
...
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