Skip to content

Commit

Permalink
chore: delete useless method
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtianyi committed Dec 11, 2022
1 parent 5c43701 commit 5e28685
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions timestamp.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- encoding: utf-8 -*-


import os
import sys
import pytz
import time
Expand Down Expand Up @@ -125,11 +124,6 @@ def format_timestamp(timestamp, _timezone=None):
return datetime.fromtimestamp(timestamp, tz=_timezone).strftime("%Y-%m-%d %H:%M:%S")


def copy_to_clipboard(value):
command = 'echo ' + str(value).strip() + '| clip'
os.system(command)


def is_timestamp(value):
strlen = len(value)
'''support 10 or 13 length unixtime |支持10位或者13位unixtime'''
Expand Down

0 comments on commit 5e28685

Please sign in to comment.