mirror of
https://github.com/lune-org/lune.git
synced 2025-04-04 10:30:54 +01:00
11 lines
No EOL
319 B
Text
11 lines
No EOL
319 B
Text
local DateTime = require("@lune/datetime")
|
|
|
|
assert(
|
|
DateTime.fromRfcDate("Fri, 21 Nov 1997 09:55:06 -0600") ~= nil,
|
|
"expected DateTime.fromRfcDate() to return DateTime, got nil"
|
|
)
|
|
|
|
assert(
|
|
DateTime.fromRfcDate("Tue, 1 Jul 2003 10:52:37 +0200") ~= nil,
|
|
"expected DateTime.fromRfcDate() to return DateTime, got nil"
|
|
) |