-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Boljše preverjanje datumov pri uvozu MIZŠ podatkov #103
base: master
Are you sure you want to change the base?
Conversation
csv/schools-cases.csv.timestamp
Outdated
1613568164 | ||
======= | ||
1613568229 | ||
>>>>>>> d5e22fd290f15082b09a8f100618b4fe493b8a1f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tole je ostanek conflict resolvinga... treba fixat
"Start date {} is after the stop date {} in line:\n{}".format( | ||
start_date, stop_date, row | ||
) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be either
logger.warning(f'Start date {start_date} is after the stop date {stop_date} in line:\n{row}')
(shorter)... or ...
logger.warning('Start date %s is after the stop date %s in line:\n%s', start_date, stop_date, row)
to leverage filtering using logging services where you can do aggregations for this message regardless of parameter values.
Also, commits can be squashed into one :) |
…eč kot 1/2/3/4/5/6 mesecev. Številke so preliminarne.
…/4/5/6 mesecih, oziroma pred več kot 6 meseci
Verjetno hočete izločiti popravek izdelanih csv-jev. Naj to raje naredi vaš bot.