| @@ -1206,9 +1206,9 @@ class Timestamp(_Timestamp): |
|
|
| 1206 |
1206 |
-------- |
| 1207 |
1207 |
>>> from pandas._libs.tslibs import convert_strftime_format |
| 1208 |
1208 |
>>> ts = pd.Timestamp('2020-03-14T15:32:52.192548651') |
| 1209 |
|
- >>> fmt = convert_strftime_format('%Y-%m-%d %X') |
|
1209 |
+ >>> fmt = convert_strftime_format('%Y-%m-%dT%H:%M:%S') |
| 1210 |
1210 |
>>> ts.fast_strftime(fmt) |
| 1211 |
|
- '2020-03-14 15:32:52' |
|
1211 |
+ '2020-03-14T15:32:52' |
| 1212 |
1212 |
""" |
| 1213 |
1213 |
return fmt_str % dict( |
| 1214 |
1214 |
year=self.year, month=self.month, day=self.day, hour=self.hour, |