Jeff Smith
5725ed3b46
ucrtbase: Strftime %y works for years 0 to 9999.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:37:39 +01:00
Piotr Caban
d0277873ea
msvcrt: Call invalid parameter handler in strftime.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:37:33 +01:00
Jeff Smith
d4e2b0584b
ucrtbase: Strftime returns 4-digit timezone for %z.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:37:05 +01:00
Vijay Kiran Kamuju
54f4bfb06d
ucrtbase: Implement %g format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Piotr Caban
f65c426776
ucrtbase: Implement %G format for strftime.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-28 19:19:33 +01:00
Vijay Kiran Kamuju
679cdc4010
msvcrt: Implement %u format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-18 18:05:32 +02:00
Piotr Caban
d3675fd611
msvcrt: Return time since CRT initialization in clock function.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 14:38:13 +02:00
Vijay Kiran Kamuju
c583c4afaa
msvcrt: Implement %n and %t formats for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 12:30:59 +02:00
Vijay Kiran Kamuju
8e1435ef81
msvcrt: Implement %h format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 23:38:33 +02:00
Vijay Kiran Kamuju
0bdaecd2d7
msvcrt: Implement %e format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:06 +02:00
Vijay Kiran Kamuju
3762402779
msvcrt: Implement %C format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 12:16:34 +02:00
Vijay Kiran Kamuju
5da8af40dd
msvcrt: Implement %F format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-01 15:14:09 +02:00
Vijay Kiran Kamuju
1ed44b3554
msvcrt: Implement %D format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-01 15:14:09 +02:00
Vijay Kiran Kamuju
20810377ed
msvcrt: Implement %R format for strftime.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:27 +02:00
Piotr Caban
30913ff564
msvcrt: Don't write past buffer in strftime.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:27 +02:00
Andrew Eikum
bfe02fc747
msvcrt: Implement %T format for strftime.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 17:43:31 +02:00
Piotr Caban
79188582f0
msvcrt: Fix buffer overflow in _get_tzname.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46481
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 20:19:19 +01:00
Piotr Caban
2efc73b968
msvcrt: Use GetDaylightFlag() to set dstflag value in _ftime64.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 14:01:14 +01:00
Piotr Caban
b8bafa2c58
msvcrt: Use _timezone in _ftime64.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 14:01:12 +01:00
Piotr Caban
7a50abd894
ucrtbase: Add _timespec{32,64}_get implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-18 21:25:49 +02:00
Akihiro Sagawa
f4ddd3190a
ucrtbase: Asctime() uses space-padding for day of month as seen in C89.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 13:24:27 +01:00
Alex Henrie
b4e1390123
msvcrt: Don't include MSVC 8.0+ time functions in SOs for older DLLs.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 18:51:30 +01:00
Piotr Caban
5823e5b914
msvcrt: Fix '%z' format handling in strftime.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-03 17:15:23 +02:00
Piotr Caban
a6400b9fe7
msvcr: Add _Wcsftime implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-14 20:10:22 +01:00
Piotr Caban
17186413fe
msvcr: Add _get_dstbias implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-28 20:40:02 +01:00
Piotr Caban
e38cbd82bd
msvcrt: Add wcsftime_l.
...
Based on Daniel Lehman's patch.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:56 +09:00
Piotr Caban
1505684a85
msvcrt: Add _strftime_l.
...
Based on Daniel Lehman's patch.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:46 +09:00
Piotr Caban
d6948bf356
msvcrt: Add support for multibyte characters in _Strftime.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:29 +09:00
Piotr Caban
7dfb21a9db
msvcrt: Fix parameters conversion in wcsftime function.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:22 +09:00
Piotr Caban
d4450b9195
msvcr110: Fix __lc_time_data definition.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 21:19:21 +09:00
Piotr Caban
ecac39c19b
msvcrt: Add _wctime32_s implementation.
2015-09-15 17:02:11 +09:00
Nikolay Sivov
1228f0bba5
msvcrt: Added __dstbias() export.
2014-09-10 21:36:52 +02:00
Piotr Caban
c18d52d346
msvcrt: Don't crash on NULL struct _tm in asctime.
2014-05-12 19:30:16 +02:00
Piotr Caban
beeea28a53
msvcr100: Move functions implementation to msvcrt.
2014-04-16 18:00:15 +02:00
Daniel Lehman
15b35f4d37
msvcrt: Return wall-clock time from clock().
2013-11-25 19:30:20 +01:00
Frédéric Delanoy
f6677602e3
msvcrt: Use BOOL type where appropriate.
2013-10-11 11:05:59 +02:00
Piotr Caban
d3ecfe0599
msvcrt: Fixed _localtime64 implementation.
2012-12-10 17:36:28 +01:00
Piotr Caban
11216fabc4
msvcrt: Reorganize _localtime64 function.
2012-12-10 17:36:28 +01:00
Piotr Caban
acac63663a
msvcrt: Improved input parameter range check in _gmtime64_s.
2012-12-10 17:36:28 +01:00
Piotr Caban
c9a7436812
msvcrt: Fixed mkgmtime and _mkgmtime64 implementation.
2012-12-10 17:36:27 +01:00
Piotr Caban
a66ed048a3
msvcrt: Fixed mktime and _mktime64 implementation.
2012-12-10 17:36:27 +01:00
Piotr Caban
351dff91de
msvcrt: Reimplement _tzset function.
2012-12-10 17:36:26 +01:00
Alexandre Julliard
06989a0483
msvcrt: Make sure that errno is always set when calling the invalid parameter handler.
2012-07-26 11:05:32 +02:00
Piotr Caban
bfa3045816
msvcrt: Added support for %W and %U format in strftime.
2012-04-16 17:49:24 +02:00
Piotr Caban
ef08e80765
msvcrt: Added _Strftime implementation.
2012-04-11 18:23:23 +02:00
Piotr Caban
2ca9a73a31
msvcrt: Rewrite wasctime function.
2012-04-11 18:20:34 +02:00
Piotr Caban
0f7c834bd1
msvcrt: Rewrite asctime function.
2012-04-11 18:20:14 +02:00
André Hentschel
f012242037
msvcrt: Implement _wasctime_s.
2011-11-30 17:04:39 +01:00
André Hentschel
35722cb4ce
msvcrt: Implement asctime_s.
2011-11-30 17:04:35 +01:00
Andrew Talbot
fb3b28f013
msvcrt: void functions should not return a value.
2011-08-22 16:14:31 +02:00