Skip to content

Commit 1473750

Browse files
author
Corne Bester
committed
chore: rename folders for consitency
1 parent 430c580 commit 1473750

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# python_time_functions
1+
# Readme
22

33
example
44

55
```
66
from datetime import datetime, timezone
7-
from time_functions import get_timestamp_unix_millis
8-
# OR
7+
98
import time_functions
9+
# OR
10+
from time_functions import get_timestamp_unix_millis
1011
1112
timestamp = datetime.now(timezone.utc)
1213
unix_millis = get_timestamp_unix_millis(timestamp) # create unix timestamp from obj above

example_conversions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import logging
22

33
from datetime import datetime, timezone
4-
import src.python_time_fuctions.time_functions as time_functions
4+
import src.time_functions.time_functions as time_functions
55

66
logger = logging.getLogger(__name__)
77

File renamed without changes.

tests/test_time_function_sanitizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import src.python_time_fuctions.time_functions as time_functions
1+
import src.time_functions.time_functions as time_functions
22

33
def test_convertions_from_sample23():
44
assert float(time_functions.timestamp_sanitizer_psql(1742758997)) == 1742758997

tests/test_time_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22
from datetime import datetime, timezone
3-
import src.python_time_fuctions.time_functions as time_functions
3+
import src.time_functions.time_functions as time_functions
44

55

66
new_obj = datetime.now(timezone.utc)

0 commit comments

Comments
 (0)