From unknown Fri Aug 15 18:46:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23942: 24.4; Calc; calc-unix-time returns incorrect date Resent-From: Vladimir Grul Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2016 06:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23942 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23942@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146821735223451 (code B ref -1); Mon, 11 Jul 2016 06:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jul 2016 06:09:12 +0000 Received: from localhost ([127.0.0.1]:45904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMUP1-00066B-7Y for submit@debbugs.gnu.org; Mon, 11 Jul 2016 02:09:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMLYF-0005fp-4N for submit@debbugs.gnu.org; Sun, 10 Jul 2016 16:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMLY8-000301-M4 for submit@debbugs.gnu.org; Sun, 10 Jul 2016 16:42:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMLY8-0002zt-JG for submit@debbugs.gnu.org; Sun, 10 Jul 2016 16:42:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMLY6-00021F-0R for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 16:41:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMLY0-0002zG-Vz for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 16:41:56 -0400 Received: from smtp.cznet.cz ([82.208.5.3]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMLY0-0002yw-PA for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 16:41:52 -0400 Received: from [185.112.167.8] (helo=enpi.grul.cz) by smtp.cznet.cz with esmtp (Exim 4.80) (envelope-from ) id 1bMLXv-0002rT-Je for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 22:41:47 +0200 From: Vladimir Grul Date: Sun, 10 Jul 2016 22:41:42 +0200 Message-ID: <87vb0di5tl.fsf@enpi.grul.cz> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Mailman-Approved-At: Mon, 11 Jul 2016 02:09:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) Entering the following number and operation into calc window 1468144800 `t U' results in <10:00am Mon Jul 11, 2016> while I think the correct result should be <10:00am Mon Jul 10, 2016> In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.5 (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: cs_CZ.UTF-8 locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: show-paren-mode: t icomplete-mode: t desktop-save-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: M-x c a l c t U q M-x r e p o r t e m - e Recent messages: Loading gnus...done Loading icomplete...done Loading paren...done communicator.cpp has auto save data; consider M-x recover-this-file Wrote /home/vgrul/.emacs.d/.emacs.desktop.lock Desktop: 2 frames, 16 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a. Loading /home/vgrul/.emacs.d/session.10656e7069000146134727500000020570025...done Restored session data Welcome to the GNU Emacs Calculator! Press `?' or `h' for help, `q' to quit Load-path shadows: /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums calccomp calc-arith calc-misc cal-dst calc-alg calc-forms calc-aent calc-yank calc-ext calc-menu calc calc-loaddefs calc-macs mule-util info org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode dired org-bibtex bibtex org-bbdb org-w3m org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs cc-langs cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs saveplace jka-compr paren icomplete gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit desktop frameset cl-loaddefs cl-lib cus-start cus-load time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 243007 6271) (symbols 48 34170 0) (miscs 40 387 270) (strings 32 57386 6598) (string-bytes 1 1730006) (vectors 16 23117) (vector-slots 8 547291 6486) (floats 8 145 399) (intervals 56 1069 0) (buffers 960 29) (heap 1024 34901 1188)) From unknown Fri Aug 15 18:46:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23942: 24.4; Calc; calc-unix-time returns incorrect date References: <87vb0di5tl.fsf@enpi.grul.cz> In-Reply-To: <87vb0di5tl.fsf@enpi.grul.cz> Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2016 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23942 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23942@debbugs.gnu.org Cc: vgrul@volny.cz, tino.calancha@gmail.com Received: via spool by 23942-submit@debbugs.gnu.org id=B23942.146825059318522 (code B ref 23942); Mon, 11 Jul 2016 15:24:02 +0000 Received: (at 23942) by debbugs.gnu.org; 11 Jul 2016 15:23:13 +0000 Received: from localhost ([127.0.0.1]:47002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMd3B-0004of-2e for submit@debbugs.gnu.org; Mon, 11 Jul 2016 11:23:13 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMd39-0004oQ-Eu for 23942@debbugs.gnu.org; Mon, 11 Jul 2016 11:23:11 -0400 Received: by mail-pa0-f47.google.com with SMTP id dx3so35735719pab.2 for <23942@debbugs.gnu.org>; Mon, 11 Jul 2016 08:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=bj+1TaBqF6FoKPsIzPVz2Wi4AVR6LWdgCAJlxTu5JlQ=; b=V35m1QgO/x2P1jOtwvWzaUYx06XtSZR9wEOY6AHtWqEMwb5y95JaBbO7r1mcf9wN/f azLUpHs3qgNRpmfaoR0xyVp2U4zVzAVVs6yYzN0BS8CTs7LyC5xzqWeUsjLgnTKdNwpV uTNtQs/zTDDop2X2R55+Cktog5GkPGQRB8M4NN9WHxKOTNNEJ7dbeNPHD6tFpkMXJBGB 6NFy5Im7lYjwzfjRQ1OJ1ygEQlVPiy/kzjv3sKTjG6krzsZ7ThITcMp9HLqz/l1gKd/R xflZRYZUs0p9+AH0jTkNqC8+hiISbolYY2QyakyIP2Et/SaV22Katl9AKq0qPX5ptHe+ 5i+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:user-agent :mime-version; bh=bj+1TaBqF6FoKPsIzPVz2Wi4AVR6LWdgCAJlxTu5JlQ=; b=k//3h4S3x38Sy1VWWkAxviMUt0ztzhUyxBqtIAFV5pWCGWw0a8SlrK2B4Q9lBJbfuU fcJahAD+2klxU7HRDkKFyXyHyK2TM4VgUqaOIzRuCtmn+M9dRe8PbI1Fi4zRVPG/5zk0 fVYyBfPn/zNlhkTEI+kE4ba/6sXMjuIrXN5J6UaxQuej5JIU+/CHtep/7A2URpzMItxp jdjq5GFkpqaIhMV5RRcig1xm5+ITZbGbr7AYipXA/sqlhZXLl4MyMnA/Xs2F3PTqAx4Z 253wjBpVwQAR5ECVmskayIH5odOk8yiHP3+4/YCoJvwoX4IJ5h1QlG+wH/ckWmoxsGZA pXug== X-Gm-Message-State: ALyK8tJiP9z7LHD9Pp/3kVWo2N4bxDxOhERB8aKbS13pgcEuPfu15eP6PRt7ktDe6yx8XQ== X-Received: by 10.66.43.171 with SMTP id x11mr36052581pal.108.1468250585724; Mon, 11 Jul 2016 08:23:05 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id g189sm5026386pfc.46.2016.07.11.08.23.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 08:23:05 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Tue, 12 Jul 2016 00:23:02 +0900 (JST) X-X-Sender: calancha@calancha-pc Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >while I think the correct result should be <10:00am Mon Jul 10, 2016> You are right. This bug is already fixed in the trunk version (commit e368697ce3647f1f34f4777d553604866c56ad25 2015-04-09) Thank you. Tino From unknown Fri Aug 15 18:46:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vladimir Grul Subject: bug#23942: closed () Message-ID: References: <87vb0di5tl.fsf@enpi.grul.cz> X-Gnu-PR-Message: they-closed 23942 X-Gnu-PR-Package: emacs Reply-To: 23942@debbugs.gnu.org Date: Mon, 11 Jul 2016 15:27:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1468250822-18887-1" This is a multi-part message in MIME format... ------------=_1468250822-18887-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23942: 24.4; Calc; calc-unix-time returns incorrect date which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23942@debbugs.gnu.org. --=20 23942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23942 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1468250822-18887-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23942-done) by debbugs.gnu.org; 11 Jul 2016 15:26:11 +0000 Received: from localhost ([127.0.0.1]:47006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMd63-0004tA-HI for submit@debbugs.gnu.org; Mon, 11 Jul 2016 11:26:11 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:35484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMd61-0004sx-Nq for 23942-done@debbugs.gnu.org; Mon, 11 Jul 2016 11:26:10 -0400 Received: by mail-pa0-f49.google.com with SMTP id dx3so35757144pab.2 for <23942-done@debbugs.gnu.org>; Mon, 11 Jul 2016 08:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:message-id:user-agent:mime-version; bh=VptI58lngFrJV0vzClgcEiiQQsfInKbPUMDptULOw7o=; b=HKtlCPzqdgKE5atGPxPjuhE0w0LevVcu1V//N/Z+8ZC8rQ28/aVvaHLldbNKz7v8S0 BSTiBT7fgLd1FStFFeSjmFot0iMpv+5zaro2KzNRS+Ba23qV8rFiRs9UmhEv82RMEd+k LhfgXGIMj598EDQHwgcnmJtNs3YT7ktifRHtBNaNvVlpQORPaCo2lkVqHT+ou0qIZWrl 6LipP4Vnrs5apkXDT6QK+iy5oiSKP8Mzr3BLtUCiXXAjyBUtHL5vQCIBZt8d4ggBWpWH Uc2pQwZ2LC/a1dAyBvgqBv8AfibLgE/Jdg1/deoE/xR/2M4co75aOa0EIDRG80oihUxD 95uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:message-id:user-agent:mime-version; bh=VptI58lngFrJV0vzClgcEiiQQsfInKbPUMDptULOw7o=; b=dgeepUn2yTqGqf3G4ORM/HjPurixi1YoTkCGPwAtxprkV6exUQgWSOHxs2YnCSQCc9 PMt/LUcjab/SXQPCCZV4bQyAGi1h6+sl22Bxj2+3xTtfk4HsPaJYh+frOUlaOKH59eHa PZGxib5SQpKfdP1K6MzvADTwb/340u8xfx6N4EECXMxn0J1JM+Sl4+1MNsEWpsTKYAU6 Jp54QbfVkXuNjV0IbJLtTD7Aid1lS1FrBCuIQGitb3VO+upxqWrLU8wgoiGvpEWkZQ+V ttPY2u7HPMKAZmBaq24VEdvPT/f/kFHEDibFdHVU0Ld/tESwXJCntjJYi6KKIXyabcvd 5s6w== X-Gm-Message-State: ALyK8tLXsvk3hn607SrZoz0HayfaTeEChnxOS+2IXubgfuH4qt6ic3XkXWZHD2cKnoo7IQ== X-Received: by 10.66.47.133 with SMTP id d5mr35717121pan.48.1468250763857; Mon, 11 Jul 2016 08:26:03 -0700 (PDT) Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id w8sm6659119paz.32.2016.07.11.08.26.02 for <23942-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2016 08:26:03 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Tue, 12 Jul 2016 00:26:01 +0900 (JST) X-X-Sender: calancha@calancha-pc To: 23942-done@debbugs.gnu.org Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Already fixed in emacs-25 and master branches [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.49 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 23942-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Already fixed in emacs-25 and master branches [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.49 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Already fixed in emacs-25 and master branches ------------=_1468250822-18887-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Jul 2016 06:09:12 +0000 Received: from localhost ([127.0.0.1]:45904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMUP1-00066B-7Y for submit@debbugs.gnu.org; Mon, 11 Jul 2016 02:09:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMLYF-0005fp-4N for submit@debbugs.gnu.org; Sun, 10 Jul 2016 16:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMLY8-000301-M4 for submit@debbugs.gnu.org; Sun, 10 Jul 2016 16:42:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMLY8-0002zt-JG for submit@debbugs.gnu.org; Sun, 10 Jul 2016 16:42:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMLY6-00021F-0R for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 16:41:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMLY0-0002zG-Vz for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 16:41:56 -0400 Received: from smtp.cznet.cz ([82.208.5.3]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMLY0-0002yw-PA for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 16:41:52 -0400 Received: from [185.112.167.8] (helo=enpi.grul.cz) by smtp.cznet.cz with esmtp (Exim 4.80) (envelope-from ) id 1bMLXv-0002rT-Je for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 22:41:47 +0200 From: Vladimir Grul To: bug-gnu-emacs@gnu.org Subject: 24.4; Calc; calc-unix-time returns incorrect date Date: Sun, 10 Jul 2016 22:41:42 +0200 Message-ID: <87vb0di5tl.fsf@enpi.grul.cz> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 11 Jul 2016 02:09:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) Entering the following number and operation into calc window 1468144800 `t U' results in <10:00am Mon Jul 11, 2016> while I think the correct result should be <10:00am Mon Jul 10, 2016> In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.5 (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: cs_CZ.UTF-8 locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: show-paren-mode: t icomplete-mode: t desktop-save-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: M-x c a l c t U q M-x r e p o r t e m - e Recent messages: Loading gnus...done Loading icomplete...done Loading paren...done communicator.cpp has auto save data; consider M-x recover-this-file Wrote /home/vgrul/.emacs.d/.emacs.desktop.lock Desktop: 2 frames, 16 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a. Loading /home/vgrul/.emacs.d/session.10656e7069000146134727500000020570025...done Restored session data Welcome to the GNU Emacs Calculator! Press `?' or `h' for help, `q' to quit Load-path shadows: /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums calccomp calc-arith calc-misc cal-dst calc-alg calc-forms calc-aent calc-yank calc-ext calc-menu calc calc-loaddefs calc-macs mule-util info org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode dired org-bibtex bibtex org-bbdb org-w3m org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs cc-langs cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs saveplace jka-compr paren icomplete gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit desktop frameset cl-loaddefs cl-lib cus-start cus-load time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 243007 6271) (symbols 48 34170 0) (miscs 40 387 270) (strings 32 57386 6598) (string-bytes 1 1730006) (vectors 16 23117) (vector-slots 8 547291 6486) (floats 8 145 399) (intervals 56 1069 0) (buffers 960 29) (heap 1024 34901 1188)) ------------=_1468250822-18887-1--