zachleat’s avatarzachleat’s Twitter Archive—№ 21,641

  1. …in reply to @JeffChausse
    @JeffChausse that’s a YAML date: yaml.org/type/timestamp.html using the last example format: date (00:00:00Z): 2002-12-14 YYYY-MM-DD implies midnight in GMT. When you’re outputting the date in your template, it’s using the local time zone. More on overriding dates: 11ty.io/docs/collections/#overriding-content-dates
    1. …in reply to @zachleat
      @JeffChausse Options: * Use GMT time when outputting the date in your template * use a String date to use Luxon’s date parsing (might have the same problem) 11ty.io/docs/collections/#overriding-content-dates * Use a more specific YAML date format (least preferrable) yaml.org/type/timestamp.html