delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/20/13:34:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=UYFmO2PL2wdEb1JbBkP68jb3cQcUl
tWxEkvhvKsKielqw5KcJ7lEtlVgzt8WlNcYArqrTm8Zssj89SIhRKk1Wcp1Cewd1
Q+Ph+oimTRrPbX5g4jR6xST4EOKsURBWTBvpnke9Xuh/Rb5mV6KlT4pkgJYiS7pB
cdHqLgi53shniw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=I+CigPXvaX2hugcJfXiq4MCIQc4=; b=MHq
XrZ7t96FzWwy6coZ7M3QdRzLAyaF6nqt5XWdZWzI8r7UXVSHCGVB+HX6gdCd2snm
n1PK3+8/uEcCV2XTSb1fvMGOyLp9IFwTSF1GXMpYE5amcmlopzLoZIxusM02UXlT
S5q0qBc58remY8igeC3y2/1+Ea1VL6+JnruhcNuA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f172.google.com
MIME-Version: 1.0
X-Received: by 10.107.13.11 with SMTP id 11mr45285814ion.70.1432143219966; Wed, 20 May 2015 10:33:39 -0700 (PDT)
Date: Wed, 20 May 2015 13:33:39 -0400
Message-ID: <CADaEXtdvKkFLisSuZS7ZKSeSLevW9MajMcy+PoRBeMFAYO75kg@mail.gmail.com>
Subject: Epoch in 1.7.34
From: Andrew Clark <lark047 AT gmail DOT com>
To: cygwin AT cygwin DOT com

Hi,
I was wondering about this behavior of the date command in Cygwin
1.7.34. The bash version is 4.1.17:

$ date +%s

$

The behavior has been corrected in 2.0.2 (bash version 4.3.33):

$ date +%s
1432142822
$

I'm not sure if this a Cygwin question or a bash question, but I came
here first.

Thanks,
Andrew

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019