1. PostgreSQL copy of all MySQL created and tested.\n 2. Purchase Orders and Sales Orders and stock level management added to MySQL, PostgreSQL, and server and front end code.
This commit is contained in:
11
env_test/Lib/site-packages/pip/_internal/utils/datetime.py
Normal file
11
env_test/Lib/site-packages/pip/_internal/utils/datetime.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""For when pip wants to check the date or time.
|
||||
"""
|
||||
|
||||
import datetime
|
||||
|
||||
|
||||
def today_is_later_than(year: int, month: int, day: int) -> bool:
|
||||
today = datetime.date.today()
|
||||
given = datetime.date(year, month, day)
|
||||
|
||||
return today > given
|
||||
Reference in New Issue
Block a user