Hallo zusammen,
kurze Frage: ist irgendwo die %(date)s Variable dokumentiert? Ich würde gerne von dem amerikanischen Format weg kommen.
Gruß
Christian
Spyder4 / Datum in template.py automatisch setzen
- __blackjack__
- User
- Beiträge: 14325
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@c77ar: Das wird ein Platzhalter für den ``%``-Operator sein. Ich glaube da gibt es keinen Weg das im Template zu lösen. Bei `format()` statt ``%`` ginge das. Vielleicht kann man ja ein Issue bei Spyder aufmachen ob die nicht mal von ``%`` auf `str.format()` ”upgraden” wollen.
„Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.“ — Brian W. Kernighan
