Добро пожаловать, Гость. Пожалуйста авторизуйтесь здесь.
FGHIGate на GaNJa NeTWoRK ST@Ti0N - Просмотр сообщения в эхоконференции FTSC_PUBLIC
Введите FGHI ссылку:


Присутствуют сообщения из эхоконференции FTSC_PUBLIC с датами от 13 Sep 13 18:57:24 до 15 Nov 24 00:30:01, всего сообщений: 7128
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 5505 из 7128 ====================================== FTSC_PUBLIC =
От   : Rob Swindell                     1:103/705          13 Feb 21 11:59:48
Кому : Maurice Kinal                                       13 Feb 21 11:59:48
Тема : "Packet Type 2 Compatible Formats" (Ex FSP-1040)
FGHI : area://FTSC_PUBLIC?msgid=30959.ftsc_pub@1:103/705+248ddea3
На   : area://FTSC_PUBLIC?msgid=1:153/7001+6027dd02
= Кодировка сообщения определена как: ASCII ==================================
==============================================================================
  Re: "Packet Type 2 Compatible Formats" (Ex FSP-1040)
  By: Maurice Kinal to Oli on Sat Feb 13 2021 02:06 pm

> -={ 2021-02-13 14:06:58.413218119+00:00 }=-
>
> Hey Oli!
>
>  O> I think I found one omission: The value from "month" in the Type
>  O> 2(+) packet header is "0-11 for Jan-Dec" (in contrast to 1-31 for
>  O> "day" of month). This isn't mentioned in Stephen's draft.
>
> I believe that is a consequence of time.h and has nothing to do with
> fidonet. It is all in the localtime() structure that 0-11 for months was
> used rather than the 01-12 used for months in strftime() which is also part
> of time.h. According to c89 standards output for strftime does include
> enough % specifiers to output proper iso-8601 or even a rfc-3339 formatted
> datetime stamp.  For sure "2021-02-13 14:06:58 +0000" is doable and is
> backwards compatible to c89. We could have been using a four digit year
> since day one.

The month field being discussed here is from the packet header, which is binary (not a string of text). The date field you're referring to is in a "packed message" header. The *year* field of the packet header is already 16-bits, so can already accomodate years up to 65535.
--- SBBSecho 3.12-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

К главной странице гейта
Powered by NoSFeRaTU`s FGHIGate
Открытие страницы: 0.148671 секунды