Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Enable %Y-%b-%d %H:%M:%S.%f timestamp format (used in boost)#6

Open
krya-kryak wants to merge 1 commit intogbarr:masterfrom
krya-kryak:enable-boost-default-timestamp
Open

Enable %Y-%b-%d %H:%M:%S.%f timestamp format (used in boost)#6
krya-kryak wants to merge 1 commit intogbarr:masterfrom
krya-kryak:enable-boost-default-timestamp

Conversation

@krya-kryak
Copy link

Good night, Graham.
I've made a small change to your wonderful library, it enables parsing %Y-%b-%d %H:%M:%S.%f timestamps, de-facto default format for Boost C++ applications: https://svn.boost.org/trac/boost/ticket/8839.
This format does not seem to be standard one yet it is reasonably common.
Two additional tests are added. None of the tests look broken.
Please consider accepting my commit. Thank you.

Koan-Bot added a commit to Koan-Bot/perl-TimeDate that referenced this pull request Feb 26, 2026
Add parsing support for the default C++ Boost timestamp format
(e.g., "2002-Jul-22 10:00:00.000000"). This uses month name
instead of month number in the date portion.

Adds test cases for both abbreviated and full month names.

Originally submitted as gbarr#6 by @krya-kryak

Co-Authored-By: Vladimir Kononov <pono@yandex-team.ru>
@Koan-Bot
Copy link

Migration Notice

This repository is no longer actively maintained. The official source has moved to atoomic/perl-TimeDate.

This PR has been migrated to the new repository:

Thank you @krya-kryak for the original contribution!


🤖 Automated migration by Kōan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants