bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72023: feature request for date(1): strptime-style format string whe


From: mark.yagnatinsky
Subject: bug#72023: feature request for date(1): strptime-style format string when you don't want date to guess
Date: Wed, 10 Jul 2024 13:12:00 +0000

Re: strptime is mistake: you think that particular function is bad, or the 
whole idea of
"here is a string describing the format, please parse accordingly" is a bad 
idea?

-----Original Message-----
From: Paul Eggert <eggert@cs.ucla.edu> 
Sent: Wednesday, July 10, 2024 8:57 AM
To: Yagnatinsky, Mark : IT (NYK) <mark.yagnatinsky@barclays.com>; 
72023@debbugs.gnu.org
Subject: Re: bug#72023: feature request for date(1): strptime-style format 
string when you don't want date to guess


CAUTION: This email originated from outside our organisation - 
eggert@cs.ucla.edu Do not click on links, open attachments, or respond unless 
you recognize the sender and can validate the content is safe.
On 7/10/24 13:59, mark.yagnatinsky--- via GNU coreutils Bug Reports wrote:
> BSD date has this flag

Unfortunately it uses -f for the flag, and -f already has a well-established 
different meaning in GNU 'date'. We could add it to GNU date under a different 
(long) option name, though we'd still be incompatible with BSD 'date'.

Again, if someone wants to write the code and (just as important) 
documentation, and also the tests, go for it. I tend to think strptime is a 
mistake, so I'm not likely to volunteer.

This message is for information purposes only. It is not a recommendation, 
advice, offer or solicitation to buy or sell a product or service, nor an 
official confirmation of any transaction. It is directed at persons who are 
professionals and is intended for the recipient(s) only. It is not directed at 
retail customers. This message is subject to the terms at: 
https://www.ib.barclays/disclosures/web-and-email-disclaimer.html. 

For important disclosures, please see: 
https://www.ib.barclays/disclosures/sales-and-trading-disclaimer.html regarding 
marketing commentary from Barclays Sales and/or Trading desks, who are active 
market participants; 
https://www.ib.barclays/disclosures/barclays-global-markets-disclosures.html 
regarding our standard terms for Barclays Investment Bank where we trade with 
you in principal-to-principal wholesale markets transactions; and in respect to 
Barclays Research, including disclosures relating to specific issuers, see: 
https://publicresearch.barclays.com.
__________________________________________________________________________________
 
If you are incorporated or operating in Australia, read these important 
disclosures: 
https://www.ib.barclays/disclosures/important-disclosures-asia-pacific.html.
__________________________________________________________________________________
For more details about how we use personal information, see our privacy notice: 
https://www.ib.barclays/disclosures/personal-information-use.html. 
__________________________________________________________________________________

reply via email to

[Prev in Thread] Current Thread [Next in Thread]