Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
taniki committed Nov 7, 2024
1 parent 1d624ad commit fb02166
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/import_wf_offload.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ def write_posts(posts):
)

print(filename)
print(p['created'])
print(p['created'][:19]+"Z")
print(datetime.datetime.fromisoformat(p['created'][:19]+"Z"))
print(datetime.datetime.fromisoformat(p['created'][:19]+"Z").strftime('%s'))
print(datetime.datetime.fromisoformat(p['created'][:19]+"Z").astimezone(tz))
print(datetime.datetime.fromisoformat(p['created'][:19]+"Z").astimezone(tz).strftime('%s'))
print(post['title'])
print(post['source'])

Expand Down

0 comments on commit fb02166

Please sign in to comment.