X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4F1E812E.7060603@overbearing.org> Date: Tue, 24 Jan 2012 11:00:14 +0100 From: cygwin User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.7.9 : date command fails for year 1900 References: <0105D5C1E0353146B1B222348B0411A20A51A74206 AT NIHMLBX02 DOT nih DOT gov> In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A51A74206@NIHMLBX02.nih.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I want to thank everybody that responded. It looks like you don't think this is a bug. Given that date seems to work as I expect on SL 6.0, I would like to make a feature request: "Fix the date command to actually respond with the date" Big Props to all you guys that make this software possible and help out users like me. -Dave On 1/24/2012 12:30 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Keith Christian sent the following at Monday, January 23, 2012 2:00 PM >>> cygwin sent the following at Sunday, January 22, 2012 3:39 PM >> On Sun, Jan 22, 2012 at 10:23 PM, Buchbinder, Barry (NIH/NIAID) [E] >> wrote: >>> /c> cal 9 1752 >>> September 1752 >>> Su Mo Tu We Th Fr Sa >>> 1 2 14 15 16 >>> 17 18 19 20 21 22 23 >>> 24 25 26 27 28 29 30 >>> >>> Is this a bug? >> Not a bug, see: http://www.infoplease.com/spot/gregorian1.html. > Just for the record (and my self-respect), that was a rhetorical > question. (Or was it sarcastic?) > > 9/1752 was the transition only for Great Britain and its > dependencies. See Wikipedia for other places. > > (I especially like Alaska, which combined a changed calendar with > a shift of the International Dateline.) > > So (rhetorical) questions for the OP would be how to fix > - date and cal so that they properly take into account changes to > calendars in different locations. > - date to account for leap seconds. > > > Also, the OP asked why a signed long integer. See > > > - Barry > Disclaimer: Statements made herein are not made on behalf of NIAID. > > -- > 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 > -- 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