]> git.0d.be Git - django-panik-nonstop.git/commitdiff
update date format of csv export to conform to fwb request
authorFrédéric Péters <fpeters@0d.be>
Thu, 26 Aug 2021 11:58:54 +0000 (13:58 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 26 Aug 2021 11:58:54 +0000 (13:58 +0200)
nonstop/views.py

index c2c2badabf9a54af1e7b73edabc94a134c7ca6d0..630fcc04e414c85d37e309338513eef6191e9fe0 100644 (file)
@@ -80,7 +80,7 @@ class SomaDayArchiveCsvView(SomaDayArchiveView):
             if line.track:
                 writer.writerow(
                     [
-                        line.play_timestamp.strftime('%Y-%m-%d'),
+                        line.play_timestamp.strftime('%d/%m/%Y'),
                         line.play_timestamp.strftime('%H:%M'),
                         line.track.title,
                         line.track.artist.name if line.track.artist else '-',