Skip to content

Commit

Permalink
Changed time format
Browse files Browse the repository at this point in the history
Signed-off-by: Toomore Chiang <toomore0929@gmail.com>
  • Loading branch information
toomore committed Dec 23, 2024
1 parent cf492be commit 4f5df05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asn_coverage/ripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def asn_list(loc=None):
@click.option('--loc', help='location, two-letters')
def save_to_csv(loc=None):
''' Save datas to CSV '''
with open(f'./asns_{arrow.utcnow().format("YYYYMMDD")}.csv', 'w+', encoding='UTF8') as csv_files:
with open(f'./asns_{arrow.utcnow().format("YYYYMMDDTHH")}.csv', 'w+', encoding='UTF8') as csv_files:
csv_writer = csv.DictWriter(csv_files,
fieldnames=(
'no', 'location', 'org_id', 'registrar', 'reserved', 'name'),
Expand Down

0 comments on commit 4f5df05

Please sign in to comment.