| 1 | # output test |
| 2 | |
| 3 | Code |
| 4 | pillar(add_special(as.POSIXct("2017-07-28 18:04:35 +0200"))) |
| 5 | Output |
| 6 | <pillar> |
| 7 | <dttm> |
| 8 | 2017-07-28 18:04:35 |
| 9 | NA |
| 10 | Code |
| 11 | pillar(add_special(as.POSIXlt("2017-07-28 18:04:35 +0200"))) |
| 12 | Output |
| 13 | <pillar> |
| 14 | <dttm> |
| 15 | 2017-07-28 18:04:35 |
| 16 | NA |
| 17 | |
| 18 | --- |
| 19 | |
| 20 | Code |
| 21 | pillar(add_special(as.POSIXlt("2017-07-28 18:04:35 +0200"))) |
| 22 | Output |
| 23 | <pillar> |
| 24 | <dttm> |
| 25 | 2017-07-28 18:04:35.0000 |
| 26 | NA |
| 27 | |
| 28 | --- |
| 29 | |
| 30 | Code |
| 31 | pillar(add_special(as.difftime(8:11, units = "secs"))) |
| 32 | Output |
| 33 | <pillar> |
| 34 | <drtn> |
| 35 | 8 secs |
| 36 | 9 secs |
| 37 | 10 secs |
| 38 | 11 secs |
| 39 | NA secs |
| 40 |