Skip to content

Instantly share code, notes, and snippets.

@Zmey56
Last active August 30, 2022 07:54
Show Gist options
  • Save Zmey56/629c618da6db2dc276b4985c7d2eafba to your computer and use it in GitHub Desktop.
Save Zmey56/629c618da6db2dc276b4985c7d2eafba to your computer and use it in GitHub Desktop.
@classmethod
def fill_date(clf):
current_date = clf.today()
Logger.day = current_date.day
Logger.month = current_date.month
Logger.year = current_date.year
Logger.hour = current_date.hour
Logger.minute = current_date.minute
Logger.second = current_date.second
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment