formatize 1.0.1__tar.gz → 1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: formatize
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Literp Formatting Lib
5
5
  Home-page: https://github.com/asinerum/formatize
6
6
  Author: Asinerum Conlang Project
@@ -16,7 +16,7 @@ Requires-Dist: bs4>=0.0.2
16
16
  Requires-Dist: dnspython>=2.8.0
17
17
  Requires-Dist: pillow>=12.0.0
18
18
  Requires-Dist: pydantic>=2.12.5
19
- Requires-Dist: PyYAML>=6.0.3
19
+ Requires-Dist: pyyaml>=6.0.3
20
20
  Dynamic: license-file
21
21
 
22
22
  Detailed tips, tricks, and examples, can be found at project's repository
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = formatize
3
- version = 1.0.1
3
+ version = 1.0.2
4
4
  author = Asinerum Conlang Project
5
5
  author_email = asinerum.com@gmail.com
6
6
  description = Literp Formatting Lib
@@ -23,7 +23,7 @@ install_requires =
23
23
  dnspython >= 2.8.0
24
24
  pillow >= 12.0.0
25
25
  pydantic >= 2.12.5
26
- PyYAML >= 6.0.3
26
+ pyyaml >= 6.0.3
27
27
 
28
28
  [options.packages.find]
29
29
  where = src
@@ -0,0 +1,3 @@
1
+ from .form import *
2
+
3
+ __version__ = "1.0.2"
@@ -339,9 +339,9 @@ def parse_doc_date(time: any=None) -> str:
339
339
 
340
340
  def parse_date (datestr: str, dateform: str='%d/%m/%Y') -> str:
341
341
  try:
342
- date = datetime.strptime(datestr, dateform)
342
+ date = datetime.datetime.strptime(datestr, dateform)
343
343
  except:
344
- date = datetime.now()
344
+ date = datetime.datetime.now()
345
345
  return date.strftime('%Y-%m-%d')
346
346
 
347
347
  def parse_time(time: any=None) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: formatize
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Summary: Literp Formatting Lib
5
5
  Home-page: https://github.com/asinerum/formatize
6
6
  Author: Asinerum Conlang Project
@@ -16,7 +16,7 @@ Requires-Dist: bs4>=0.0.2
16
16
  Requires-Dist: dnspython>=2.8.0
17
17
  Requires-Dist: pillow>=12.0.0
18
18
  Requires-Dist: pydantic>=2.12.5
19
- Requires-Dist: PyYAML>=6.0.3
19
+ Requires-Dist: pyyaml>=6.0.3
20
20
  Dynamic: license-file
21
21
 
22
22
  Detailed tips, tricks, and examples, can be found at project's repository
@@ -2,4 +2,4 @@ bs4>=0.0.2
2
2
  dnspython>=2.8.0
3
3
  pillow>=12.0.0
4
4
  pydantic>=2.12.5
5
- PyYAML>=6.0.3
5
+ pyyaml>=6.0.3
@@ -1,3 +0,0 @@
1
- from .form import *
2
-
3
- __version__ = "1.0.1"
File without changes
File without changes
File without changes