diff options
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/emacs-mime.texi | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index cda4f272ca2..5535fdd77f0 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-10-24 Paul Eggert <eggert@penguin.cs.ucla.edu> | ||
| 2 | |||
| 3 | Update manual for new time stamp format (Bug#12706). | ||
| 4 | * emacs-mime.texi (time-date): Update for new format. | ||
| 5 | Also, fix bogus time stamp and modernize a bit. | ||
| 6 | |||
| 1 | 2012-10-23 Glenn Morris <rgm@gnu.org> | 7 | 2012-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * cl.texi: Include emacsver.texi. Use Emacs version number rather | 9 | * cl.texi: Include emacsver.texi. Use Emacs version number rather |
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi index 896eba2f1bb..e57fcc8adf1 100644 --- a/doc/misc/emacs-mime.texi +++ b/doc/misc/emacs-mime.texi | |||
| @@ -1516,16 +1516,16 @@ Here's a bunch of time/date/second/day examples: | |||
| 1516 | @result{} 905595714.0 | 1516 | @result{} 905595714.0 |
| 1517 | 1517 | ||
| 1518 | (seconds-to-time 905595714.0) | 1518 | (seconds-to-time 905595714.0) |
| 1519 | @result{} (13818 19266 0) | 1519 | @result{} (13818 19266 0 0) |
| 1520 | 1520 | ||
| 1521 | (time-to-days '(13818 19266)) | 1521 | (time-to-days '(13818 19266)) |
| 1522 | @result{} 729644 | 1522 | @result{} 729644 |
| 1523 | 1523 | ||
| 1524 | (days-to-time 729644) | 1524 | (days-to-time 729644) |
| 1525 | @result{} (961933 65536) | 1525 | @result{} (961933 512) |
| 1526 | 1526 | ||
| 1527 | (time-since '(13818 19266)) | 1527 | (time-since '(13818 19266)) |
| 1528 | @result{} (0 430) | 1528 | @result{} (6797 9607 984839 247000) |
| 1529 | 1529 | ||
| 1530 | (time-less-p '(13818 19266) '(13818 19145)) | 1530 | (time-less-p '(13818 19266) '(13818 19145)) |
| 1531 | @result{} nil | 1531 | @result{} nil |
| @@ -1546,7 +1546,7 @@ Here's a bunch of time/date/second/day examples: | |||
| 1546 | (time-to-number-of-days | 1546 | (time-to-number-of-days |
| 1547 | (time-since | 1547 | (time-since |
| 1548 | (date-to-time "Mon, 01 Jan 2001 02:22:26 GMT"))) | 1548 | (date-to-time "Mon, 01 Jan 2001 02:22:26 GMT"))) |
| 1549 | @result{} 4.146122685185185 | 1549 | @result{} 4314.095589286675 |
| 1550 | @end example | 1550 | @end example |
| 1551 | 1551 | ||
| 1552 | And finally, we have @code{safe-date-to-time}, which does the same as | 1552 | And finally, we have @code{safe-date-to-time}, which does the same as |
| @@ -1561,7 +1561,7 @@ An RFC822 (or similar) date string. For instance: @code{"Sat Sep 12 | |||
| 1561 | 12:21:54 1998 +0200"}. | 1561 | 12:21:54 1998 +0200"}. |
| 1562 | 1562 | ||
| 1563 | @item time | 1563 | @item time |
| 1564 | An internal Emacs time. For instance: @code{(13818 26466)}. | 1564 | An internal Emacs time. For instance: @code{(13818 26466 0 0)}. |
| 1565 | 1565 | ||
| 1566 | @item seconds | 1566 | @item seconds |
| 1567 | A floating point representation of the internal Emacs time. For | 1567 | A floating point representation of the internal Emacs time. For |