]> git.eshelyaron.com Git - emacs.git/commit
Drop fallback code in date-to-time, update documentation
authorUlrich Müller <ulm@gentoo.org>
Wed, 14 Aug 2024 11:57:16 +0000 (13:57 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 16 Aug 2024 06:44:45 +0000 (08:44 +0200)
commit1007a7987451ece9c7c7e4afa90f7d089dbf7251
tree24aafd5b063affe47470998af18d13ad583ddb40
parent5d64c5c4b6a4ab3521bd829621c515a9940b476a
Drop fallback code in date-to-time, update documentation

* lisp/calendar/time-date.el (date-to-time): Drop fallback code.
Document that the default timezone is local time, rather than GMT.
* test/lisp/calendar/time-date-tests.el (test-date-to-time):
Add more test cases.
* doc/lispref/os.texi (Time Parsing): Document that 'date-to-time'
defaults to local time.
* etc/NEWS: Announce the change.  (Bug#72570)

(cherry picked from commit 49e7f1b92daaaa12e42de93d1f7604ae0a1bbeaa)
doc/lispref/os.texi
etc/NEWS
lisp/calendar/time-date.el
test/lisp/calendar/time-date-tests.el