Use slashes within gemini blog dates

This commit is contained in:
Bob Mottram committed 2025-12-27 22:24:43 +00:00
1 parent 6f5ebdcf98
commit a8f33d0296
1 file changed
+2 -1
+2 -1
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)