Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date_ToDebugString #10

Open
Fulguritude opened this issue Apr 22, 2021 · 0 comments
Open

Date_ToDebugString #10

Fulguritude opened this issue Apr 22, 2021 · 0 comments

Comments

@Fulguritude
Copy link
Collaborator

Fulguritude commented Apr 22, 2021

Add a function Date_ToDebugString that allows the user to see the raw content of an s_date type

Fix round trip conversion on date objects:

	s_date date = Date_FromString("22 April 1937 UTC", "%d %B %Y %Z");
        printf(C_CYAN"DATE %s"C_RESET"\n", Date_ToString(&date, "%d %B %Y %Z"));

returns

DATE 22 April 1937 CET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant