diff --git a/content/drone-stuff/general-rc-tips.md b/content/drone-stuff/general-rc-tips.md index 70f6e47..b75a183 100644 --- a/content/drone-stuff/general-rc-tips.md +++ b/content/drone-stuff/general-rc-tips.md @@ -10,4 +10,4 @@ These are general tips for building RC planes/quads/whatever: * * * -Last updated on 2020-11-30 14:18:26. +*Last updated on November 30, 2020.* diff --git a/content/drone-stuff/getting-uninverted-sbus-on-a-no-name-frsky-compatible-receiver.md b/content/drone-stuff/getting-uninverted-sbus-on-a-no-name-frsky-compatible-receiver.md index 76b46b2..d963d2b 100644 --- a/content/drone-stuff/getting-uninverted-sbus-on-a-no-name-frsky-compatible-receiver.md +++ b/content/drone-stuff/getting-uninverted-sbus-on-a-no-name-frsky-compatible-receiver.md @@ -16,4 +16,4 @@ To break this out to the SBUS pad, I had to remove/bridge the resistor that is c * * * -Last updated on 2020-11-24 01:33:46. +*Last updated on November 24, 2020.* diff --git a/content/drone-stuff/getting-uninverted-sbus-smartport-on-the-frsky-xsr-receiver.md b/content/drone-stuff/getting-uninverted-sbus-smartport-on-the-frsky-xsr-receiver.md index a3288f7..f0c5236 100644 --- a/content/drone-stuff/getting-uninverted-sbus-smartport-on-the-frsky-xsr-receiver.md +++ b/content/drone-stuff/getting-uninverted-sbus-smartport-on-the-frsky-xsr-receiver.md @@ -19,4 +19,4 @@ On firmware 2.1.0 FPort, I actually got the uninverted FPort signal on the CPPM * * * -Last updated on 2020-11-24 04:21:44. +*Last updated on November 24, 2020.* diff --git a/content/drone-stuff/inav-tuning-tips.md b/content/drone-stuff/inav-tuning-tips.md index 82c0541..11daedf 100644 --- a/content/drone-stuff/inav-tuning-tips.md +++ b/content/drone-stuff/inav-tuning-tips.md @@ -12,4 +12,4 @@ Here are some general INAV tuning tips and things I've learned throughout my bui * * * -Last updated on 2020-11-30 14:18:05. +*Last updated on November 30, 2020.* diff --git a/content/drone-stuff/omnibus-f4-pro-servo-diode.md b/content/drone-stuff/omnibus-f4-pro-servo-diode.md index 992baf6..b7fa99c 100644 --- a/content/drone-stuff/omnibus-f4-pro-servo-diode.md +++ b/content/drone-stuff/omnibus-f4-pro-servo-diode.md @@ -12,4 +12,4 @@ Now the servos' 5V rail can be powered from another 5V supply to avoid servo cur * * * -Last updated on 2020-11-24 01:33:24. +*Last updated on November 24, 2020.* diff --git a/content/drone-stuff/omnibus-f4-v3-pinout.md b/content/drone-stuff/omnibus-f4-v3-pinout.md index 606e820..dfca553 100644 --- a/content/drone-stuff/omnibus-f4-v3-pinout.md +++ b/content/drone-stuff/omnibus-f4-v3-pinout.md @@ -10,4 +10,4 @@ This is the pinout of the Omnibus F4 V3: * * * -Last updated on 2020-11-24 01:33:14. +*Last updated on November 24, 2020.* diff --git a/content/drone-stuff/transmitter-external-module-pinout.md b/content/drone-stuff/transmitter-external-module-pinout.md index 0096717..09fa466 100644 --- a/content/drone-stuff/transmitter-external-module-pinout.md +++ b/content/drone-stuff/transmitter-external-module-pinout.md @@ -20,4 +20,4 @@ It's illustrated in this photo: * * * -Last updated on 2020-11-24 00:13:36. +*Last updated on November 24, 2020.* diff --git a/content/maker-things/how-to-properly-level-your-3d-printer.md b/content/maker-things/how-to-properly-level-your-3d-printer.md index 072f1d0..fdfa28d 100644 --- a/content/maker-things/how-to-properly-level-your-3d-printer.md +++ b/content/maker-things/how-to-properly-level-your-3d-printer.md @@ -30,4 +30,4 @@ I hope this guide has helped you, feel free to share it with your friends. * * * -Last updated on 2020-11-20 23:53:17. +*Last updated on November 20, 2020.* diff --git a/content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md b/content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md index 94c0dfd..e63704b 100644 --- a/content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md +++ b/content/model-build-notes/build-notes-for-the-ft-mighty-mini-arrow.md @@ -68,4 +68,4 @@ These notes are a condensed version of the [FT Arrow build video](https://www.yo * * * -Last updated on 2020-11-27 17:22:29. +*Last updated on November 27, 2020.* diff --git a/content/model-build-notes/mini-drak-build-condensed-instructions.md b/content/model-build-notes/mini-drak-build-condensed-instructions.md index b8c5b8f..a7d39b5 100644 --- a/content/model-build-notes/mini-drak-build-condensed-instructions.md +++ b/content/model-build-notes/mini-drak-build-condensed-instructions.md @@ -56,4 +56,4 @@ Notes: * * * -Last updated on 2020-11-27 00:10:22. +*Last updated on November 27, 2020.* diff --git a/content/welcome/stavros-notes.md b/content/welcome/stavros-notes.md index eb03777..52a22e7 100644 --- a/content/welcome/stavros-notes.md +++ b/content/welcome/stavros-notes.md @@ -18,4 +18,4 @@ Otherwise, enjoy my notes! * * * -Last updated on 2020-11-20 21:50:12. +*Last updated on November 20, 2020.* diff --git a/joplinexport.py b/joplinexport.py index 97bde61..e2741ae 100755 --- a/joplinexport.py +++ b/joplinexport.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 import re import sqlite3 -import time from collections import defaultdict +from datetime import datetime from pathlib import Path from shutil import copy from shutil import rmtree @@ -20,9 +20,7 @@ class Note: self.parent_title = parent_title self.title = title self.body = body - self.updated_time = time.strftime( - "%Y-%m-%d %H:%M:%S", time.localtime(updated_time) - ) + self.updated_time = datetime.fromtimestamp(updated_time) def get_url(self): return slugify(self.parent_title) + "/" + slugify(self.title) @@ -139,7 +137,7 @@ insert_anchor_links = "right" * * * -Last updated on {note.updated_time}. +*Last updated on {note.updated_time:%B %d, %Y}.* """ )