Skip to content

Commit b6b9d03

Browse files
authored
Merge pull request #1775
* Fix: wrong argument passed to parseDataToDateTime in fromHTTP
1 parent 6b4f7fe commit b6b9d03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/datetime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ export default class DateTime {
973973
*/
974974
static fromHTTP(text, opts = {}) {
975975
const [vals, parsedZone] = parseHTTPDate(text);
976-
return parseDataToDateTime(vals, parsedZone, opts, "HTTP", opts);
976+
return parseDataToDateTime(vals, parsedZone, opts, "HTTP", text);
977977
}
978978

979979
/**

0 commit comments

Comments
 (0)