From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.help Subject: Re: Storing hours, minutes, seconds, and nanoseconds from format-time-string Date: Tue, 6 Dec 2022 16:04:54 +0100 Message-ID: References: <87pmcw6dhc.fsf@gmx.net> <-psrY2wYK8HlUfRq4IKqzum__jOD1lvFD9wlIWGpK1b2tXmBMM5Ym_mRV3j5tLKVV2ilMYPKu-BhiGoVcQsU-X3cq95PqfNiDSIxEgT70yo=@protonmail.com> <878rjkeh3c.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15718"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 06 16:06:12 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2ZWN-0003tA-Tg for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Dec 2022 16:06:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2ZVh-0003Tk-K1; Tue, 06 Dec 2022 10:05:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p2ZVI-0003RS-FZ for help-gnu-emacs@gnu.org; Tue, 06 Dec 2022 10:05:04 -0500 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2ZVG-0005Z6-UA for help-gnu-emacs@gnu.org; Tue, 06 Dec 2022 10:05:04 -0500 Original-Received: by mail-ej1-x631.google.com with SMTP id fc4so6823048ejc.12 for ; Tue, 06 Dec 2022 07:04:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SpR78uJoDwCY/5PaWR7PNKEi6uChHvRcp/vUZtPQmUs=; b=KSRt92MWlz5uljymi5zhcgNFPPIAbTIqPqqAVkcGX9bysZyoo68ec5Dn5OjV/NBbAj joPvSiciJ/NHDCxLO5ceor55gTi3v2olP5avzAZp2zDpIFUZjc9PeVYP7jUpIPRizu38 Tf8GEja8gkNQ76PIi5Srh779zjoXjiMlPWMcMbmdaa32ZgO8hZ3pV6Nrt1dFRnt4Wozo jwLbsXcw3uO+io07GK7ePG4iq7DaM+jDHgqTJUlxF0PkGjSuJpOsARRqc1P3Njr1neLj KOUkGrqYUYPr/R6OugmHeoi3pBAJ6WJxFbN9tgAX7ldRxX7KLGaG/CquWTvV1xt7LOm/ 0xog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SpR78uJoDwCY/5PaWR7PNKEi6uChHvRcp/vUZtPQmUs=; b=eV68i4W6t1adIWl7St1Psfe1z1JT2zfmTM/9qwlALhDi1iarFbWwNHKmnKaupk4w5/ sH2f+W/cwRS8e0D7QfY8h7daOz+v/unpXfuhFiT5YCj/FTSuCjj29bKPOVRf6v2B5QFV eYSGXubSTc+StmQVLLM81gtPYznUjeeTxN8OC4qJRhRvnSqhArKcuFDXUyghxDc2CeG6 pfwvcuJ2r/ZMFWHVwV3o4H3ul2qBynQWw7fH2dzdGGbdz0/T7p6Lkc051RgSTLtcLBzj IUVre372bgMtnxj4XSOxxK0FvnoPHg5B/mdnOUe0WRo1EbXloaUL8sDGOicjIjbJNqEq Rg9g== X-Gm-Message-State: ANoB5pkcw6+BlS8C7lfUzXOviBp7hmehWmOuGnOCIw8GEuvgrkTXIlMU NV0iSjHV4B1KCp3UU13Ro3ILUwSZ7gk= X-Google-Smtp-Source: AA0mqf43Tiejx/rZI1qnLL0o5omwXv6iB+fphvdGIZFGB2VoJfN6fSbhbGgkxxtTnsq49zVDH4PLXQ== X-Received: by 2002:a17:907:7796:b0:7b6:6086:75bc with SMTP id ky22-20020a170907779600b007b6608675bcmr63710162ejc.181.1670339096510; Tue, 06 Dec 2022 07:04:56 -0800 (PST) Original-Received: from ?IPV6:2001:628:2010:4094:e478:40f3:1e41:76c5? ([2001:628:2010:4094:e478:40f3:1e41:76c5]) by smtp.gmail.com with ESMTPSA id u15-20020aa7d0cf000000b0045ce419ecffsm1070377edo.58.2022.12.06.07.04.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Dec 2022 07:04:55 -0800 (PST) Content-Language: en-US In-Reply-To: <878rjkeh3c.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=thibaut.verron@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.27, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141439 Archived-At: On 06/12/2022 15:34, Emanuel Berg wrote: > Heime wrote: > >> Am getting (void-function string-split) on "string-split". > Split the format string, i.e. use `format-time-string' several > times for each data you want to acquire ... Since the time will change between each call, it is likely that you will end up with inconsistent values if you do that.