gjdatac-api 0.0.9__tar.gz → 0.1.0__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,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gjdatac_api
3
- Version: 0.0.9
4
- Summary: 主动管理项目第一版(部分接口)
3
+ Version: 0.1.0
4
+ Summary: 更新dolphinb时间查询匹配格式
5
5
  Author: yin
6
6
  Author-email: 2018209921@qq.com
7
7
  Requires-Python: >3.6
@@ -558,15 +558,15 @@ class GJDataC:
558
558
 
559
559
  @staticmethod
560
560
  def get_price_format_date(date_str):
561
- """将日期字符串格式化为 'YYYY.MM.DD' 格式。
561
+ """将日期字符串格式化为 'YYYY.MM.DD HH:mm:ss' 格式。
562
562
  : params date_str: 日期字符串,例如 '2018-01-04 09:01:00'。
563
563
  : return :
564
- 格式化后的日期字符串,例如 '2018.01.04'。
564
+ 格式化后的日期字符串,例如 '2018.01.04 09:01:00'。
565
565
  """
566
566
  if isinstance(date_str, str):
567
567
  date_obj = datetime.datetime.strptime(date_str, '%Y-%m-%d %H:%M:%S')
568
- return date_obj.strftime('%Y.%m.%d')
569
- return date_str.strftime('%Y.%m.%d')
568
+ return date_obj.strftime('%Y.%m.%d %H:%M:%S')
569
+ return date_str.strftime('%Y.%m.%d %H:%M:%S')
570
570
 
571
571
  @staticmethod
572
572
  def _get_price_get_data_todf(data):
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gjdatac-api
3
- Version: 0.0.9
4
- Summary: 主动管理项目第一版(部分接口)
3
+ Version: 0.1.0
4
+ Summary: 更新dolphinb时间查询匹配格式
5
5
  Author: yin
6
6
  Author-email: 2018209921@qq.com
7
7
  Requires-Python: >3.6
@@ -5,8 +5,8 @@ with open('description_info.md', 'r', encoding='utf-8') as f:
5
5
 
6
6
  setup(
7
7
  name='gjdatac_api', # 你的包名
8
- version='0.0.9', # 版本号
9
- description='主动管理项目第一版(部分接口)', # 包的简要描述
8
+ version='0.1.0', # 版本号
9
+ description='更新dolphinb时间查询匹配格式', # 包的简要描述
10
10
  long_description=long_description, # 包的详细描述
11
11
  long_description_content_type='text/markdown', # 描述文件的类型
12
12
  include_package_data=True, # 包含包数据
File without changes