Home
last modified time | relevance | path

Searched refs:_unparse_datetime (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_nntplib.py1370 self.assertEqual(nntplib._unparse_datetime(dt),
1372 self.assertEqual(nntplib._unparse_datetime(dt, False),
1380 self.assertEqual(nntplib._unparse_datetime(dt),
1382 self.assertEqual(nntplib._unparse_datetime(dt, False),
1393 self.assertEqual(nntplib._unparse_datetime(dt, True),
1401 self.assertEqual(nntplib._unparse_datetime(dt, True),
/external/python/cpython3/Lib/
Dnntplib.py254 def _unparse_datetime(dt, legacy=False): function
575 date_str, time_str = _unparse_datetime(date, self.nntp_version < 2)
592 date_str, time_str = _unparse_datetime(date, self.nntp_version < 2)