Use slashes within gemini blog dates

main
Bob Mottram 2025-12-27 22:24:43 +00:00
parent 6f5ebdcf98
commit a8f33d0296
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ def blog_to_gemini(base_dir: str, nickname: str, domain: str,
try:
with open(gemini_blog_filename, 'w+',
encoding='utf-8') as fp_gemini:
fp_gemini.write(title_text + '\n\n' + published + '\n\n' +
fp_gemini.write(title_text + '\n\n' +
published.replace('-', '/') + '\n\n' +
content_text)
except OSError:
print('EX: blog_to_gemini unable to write ' + gemini_blog_filename)