I read the documentation on the timezone errors with formatting dates, but nonetheless had trouble getting stuff to format correctly. I've only just now realized that nunjucks-date and nunjucks-date-filter are two separate packages (with identical interfaces it seems) and that only the latter formats things in UTC by default as is needed here. I don't know if this belongs in the documentation because it's about an external package, but I was confused by it for a few days.
I read the documentation on the timezone errors with formatting dates, but nonetheless had trouble getting stuff to format correctly. I've only just now realized that
nunjucks-date
andnunjucks-date-filter
are two separate packages (with identical interfaces it seems) and that only the latter formats things in UTC by default as is needed here. I don't know if this belongs in the documentation because it's about an external package, but I was confused by it for a few days.