Get current time with hour: '2023-12-02-13' :return:
()
| 43 | return time.strftime('%Y-%m-%d %X', time.localtime()) |
| 44 | |
| 45 | def get_current_time_hour() -> str: |
| 46 | """ |
| 47 | Get current time with hour: '2023-12-02-13' |
| 48 | :return: |
| 49 | """ |
| 50 | return time.strftime('%Y-%m-%d-%H', time.localtime()) |
| 51 | |
| 52 | def get_current_date() -> str: |
| 53 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected