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

difftime() returns strange values on particular date #2

Closed
ltopalis opened this issue Jun 7, 2022 · 0 comments
Closed

difftime() returns strange values on particular date #2

ltopalis opened this issue Jun 7, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects

Comments

@ltopalis
Copy link
Owner

ltopalis commented Jun 7, 2022

Ύστερα από ένα πρόβλημα που βρέθηκε με την difftime() ελέγξτε, διορθώστε και να έχετε στο νου σας ότι κατά την δημιουργία μιας δομής τύπου struct tm είναι αναγκαίο να αρχικοποιούνται 7 πεδία, τα οποία είναι tm_year tm_mon tm_mday tm_hour tm_min m_sec καθώς επίσης και η tm_isdst, εκ των οποίων τα τρία πρώτα με την επιθυμητή ημερομηνία, ενώ τα υπόλοιπα 4 με μία κοινή - απ' όλο το πρόγραμμα - τιμή. Προτείνεται (και καλό θα ήταν να τηρηθεί) η τιμή 0.

Παρακαλώ ελέγξτε και διορθώστε τους κώδικες σας!

@StamatisKazas @stellatsimi @christinasamara

@ltopalis ltopalis added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 7, 2022
@ltopalis ltopalis added this to to-do in Progress via automation Jun 7, 2022
@ltopalis ltopalis pinned this issue Jun 7, 2022
@ltopalis ltopalis closed this as completed Jul 1, 2022
Progress automation moved this from to-do to Done Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Development

No branches or pull requests

4 participants