mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-12 01:48:48 +00:00
parent
fac1f5cd88
commit
ef378663aa
@ -41,7 +41,8 @@ class FeedItemTest extends TestCase
|
|||||||
$this->assertSame(64800, $item->getTimestamp());
|
$this->assertSame(64800, $item->getTimestamp());
|
||||||
|
|
||||||
$item->setTimestamp('1st jan last year');
|
$item->setTimestamp('1st jan last year');
|
||||||
// This will fail at 2024-01-01 hehe
|
|
||||||
$this->assertSame(1640995200, $item->getTimestamp());
|
// This will fail at 2025-01-01 hehe
|
||||||
|
$this->assertSame(1672531200, $item->getTimestamp());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user