diff --git a/tubesync/sync/models.py b/tubesync/sync/models.py index ebd3535..4c99f71 100644 --- a/tubesync/sync/models.py +++ b/tubesync/sync/models.py @@ -435,8 +435,6 @@ class Source(models.Model): 'yyyy': now.strftime('%Y'), 'mm': now.strftime('%m'), 'dd': now.strftime('%d'), - 'hh': now.strftime('%H'), - 'min': now.strftime('%M'), 'source': self.slugname, 'source_full': self.name, 'title': 'some-media-title-name', @@ -920,8 +918,6 @@ class Media(models.Model): 'yyyy': dateobj.strftime('%Y'), 'mm': dateobj.strftime('%m'), 'dd': dateobj.strftime('%d'), - 'hh': dateobj.strftime('%H'), - 'min': dateobj.strftime('%M'), 'source': self.source.slugname, 'source_full': self.source.name, 'title': self.slugtitle, diff --git a/tubesync/sync/templates/sync/_mediaformatvars.html b/tubesync/sync/templates/sync/_mediaformatvars.html index 5f01a97..33a694e 100644 --- a/tubesync/sync/templates/sync/_mediaformatvars.html +++ b/tubesync/sync/templates/sync/_mediaformatvars.html @@ -33,16 +33,6 @@ Media publish day in DD 31 - - {hh} - Media publish hour in HH - 12 - - - {min} - Media publish minutes in MM - 46 - {source} Lower case source name, max 80 chars diff --git a/tubesync/sync/tests.py b/tubesync/sync/tests.py index 7130cbf..f5242e0 100644 --- a/tubesync/sync/tests.py +++ b/tubesync/sync/tests.py @@ -521,12 +521,6 @@ class FilepathTestCase(TestCase): self.source.media_format = 'test-{dd}' self.assertEqual(self.source.get_example_media_format(), 'test-' + timezone.now().strftime('%d')) - self.source.media_format = 'test-{hh}' - self.assertEqual(self.source.get_example_media_format(), - 'test-' + timezone.now().strftime('%H')) - self.source.media_format = 'test-{min}' - self.assertEqual(self.source.get_example_media_format(), - 'test-' + timezone.now().strftime('%M')) self.source.media_format = 'test-{source}' self.assertEqual(self.source.get_example_media_format(), 'test-' + self.source.slugname)