Style updated date

This commit is contained in:
Stavros Korokithakis 2020-11-30 14:49:56 +02:00
parent f5119820b7
commit 9054b27750
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63
12 changed files with 14 additions and 16 deletions

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -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.*

View File

@ -56,4 +56,4 @@ Notes:
* * *
Last updated on 2020-11-27 00:10:22.
*Last updated on November 27, 2020.*

View File

@ -18,4 +18,4 @@ Otherwise, enjoy my notes!
* * *
Last updated on 2020-11-20 21:50:12.
*Last updated on November 20, 2020.*

View File

@ -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}.*
"""
)