9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9fans@9fans.net
Subject: Re: [9fans] libdate
Date: Sun, 26 Apr 2020 05:41:59 +0200	[thread overview]
Message-ID: <ABFD07BE8B9686456AD865E767D9ABA6@felloff.net> (raw)
In-Reply-To: <756B454F0747C231D31E8E3D3AFA3113@eigenstate.org>

in the Tmd struct:

>                vlong    abs; /* seconds since Jan 1 1970, GMT */

in the description of tmtime():

>          Tmtime converts the millisecond-resolution timestamp 'abs'
>          into a Tm struct in the requested timezone.

the example:

>               if(tmtime(&there, here.abs, zp) == nil)

should Tmd.abs not be documented as milliseconds instead of seconds?

--
cinap

  parent reply	other threads:[~2020-04-26  3:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26  0:54 libdate ori
2020-04-26  1:54 ` [9fans] libdate tlaronde
2020-04-26  3:08   ` ori
2020-04-26  3:14 ` Calvin Morrison
2020-04-26  3:41 ` cinap_lenrek [this message]
2020-04-27  0:18 ` ori
2020-05-01  0:46   ` ori
2020-05-01  3:15     ` ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ABFD07BE8B9686456AD865E767D9ABA6@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).