Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 349dd0b1bdc28339dd9e8485daaca01d0cb115a9 https://github.com/Perl/perl5/commit/349dd0b1bdc28339dd9e8485daaca01d0cb115a9 Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- locale.c: Split my_strftime into 2 functions Future commits will want the individual functionality the two provided separately. Commit: 7eb5c7aa1a0c416399ab94b9d883c6cd419830bc https://github.com/Perl/perl5/commit/7eb5c7aa1a0c416399ab94b9d883c6cd419830bc Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Move my_strftime() within the file This will be more logically placed after future commits Commit: 492c28719682673e6c19378edf6824d79784b33e https://github.com/Perl/perl5/commit/492c28719682673e6c19378edf6824d79784b33e Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023) Changed paths: M embed.fnc M embed.h M ext/POSIX/POSIX.xs M ext/POSIX/lib/POSIX.pm M locale.c M proto.h Log Message: ----------- Implement sv_strftime_tm and sv_strftime_ints These two functions are designed to free the caller from having to know anything about the intricacies of handling UTF-8 in using strftime(), as they take SV inputs and return an SV with the UTF-8 flag appropriately set. They differ only in that one takes a bunch of integer arguments that define the various components of the time; and the other takes a pointer to a struct tm. The POSIX implementation of strftime is converted to use these. Commit: 54c585feedc0274a834c4eab6b408064086b3d4a https://github.com/Perl/perl5/commit/54c585feedc0274a834c4eab6b408064086b3d4a Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023) Changed paths: M ext/POSIX/t/time.t Log Message: ----------- POSIX/t/time.t: Remove no longer necessary code POSIX::strftime() now automatically handles the case where the locales of LC_TIME and LC_CTYPE aren't the same. So no need to explicitly do this in the test file. Commit: 701b9b5714424da2447ece130b8336f184b40e90 https://github.com/Perl/perl5/commit/701b9b5714424da2447ece130b8336f184b40e90 Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023) Changed paths: M ext/POSIX/t/time.t Log Message: ----------- time.t: Add more strftime tests Commit: 68b3b6664389edc897de16a2cfd55af3075cdbda https://github.com/Perl/perl5/commit/68b3b6664389edc897de16a2cfd55af3075cdbda Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023) Changed paths: M ext/POSIX/t/time.t Log Message: ----------- ext/POSIX/t/time.t: Fix to work on crippled boxes Some platforms donn't allow LC_TIME to be a UTF-8 locale; test for that and skip these tests is so. Commit: f5bf33e9cceebd25a884b9271665fec01a8ce7cb https://github.com/Perl/perl5/commit/f5bf33e9cceebd25a884b9271665fec01a8ce7cb Author: Karl Williamson <k...@cpan.org> Date: 2023-08-17 (Thu, 17 Aug 2023) Changed paths: M ext/POSIX/t/time.t Log Message: ----------- POSIX/t/time.t: Remove TODO The past few commits have fixed this bug Compare: https://github.com/Perl/perl5/compare/8cb28a52c7da...f5bf33e9ccee