Skip to content

Commit

Permalink
Test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jun 27, 2024
1 parent 63231e3 commit d9655c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/EleventyTest-CustomDateParsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ date: 2019-08-31 23:59:56 America/New_York

eleventyConfig.addDateParsing(function(dateValue) {
t.is(dateValue, "2019-08-31 23:59:56 America/New_York");
// returns DateTime instance from Luxon
return DateTime.fromFormat(dateValue, "yyyy-MM-dd hh:mm:ss z");
});
}
Expand Down

0 comments on commit d9655c0

Please sign in to comment.