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


Присутствуют сообщения из эхоконференции FTSC_PUBLIC с датами от 13 Sep 13 18:57:24 до 15 Nov 24 00:30:01, всего сообщений: 7128
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 5519 из 7128 ====================================== FTSC_PUBLIC =
От   : Maurice Kinal                    1:153/7001         13 Feb 21 23:12:21
Кому : Rob Swindell                                        13 Feb 21 23:12:21
Тема : "Packet Type 2 Compatible Formats" (Ex FSP-1040)
FGHI : area://FTSC_PUBLIC?msgid=1:153/7001+60285cd5
= Кодировка сообщения определена как: UTF-8 ==================================
==============================================================================
-={ 2021-02-13 23:12:21.152375887+00:00 }=-

Hey Rob!

RS> It's not uncommon for January to represented as a 0.

You're making my point, as your example with JavaScript demonstrates.  It is derived from c's time.h.

RS> it uses localtime()

A time.h function along with gmtime() and strftime().  I'd be surprised if those functions weren't included in JavaScript given localtime().

RS> to convert the stored time_t to a struct tm and then I use sprintf
RS> to format into the standard DateTime field syntax.

strftime() works just as well, even replicating two digit year formats such as the packed message header's DateTime string.  As simple as using '%d %b %y  %T' in the specifier field of the strftime() call, including using the c89 standards.  However I believe '%F %T %z' to be the superior output for a packed meassage DateTime string.

RS> You could sum up the vast majority of FidoNet in those two
RS> words: "poorly designed".

Probably.  I believe having these types of conversations in public has the potential towards solving that flaw.

RS> I guess we shouldn't really have expected more from technology
RS> developed by amateurs.

Speak for yourself.  I do expect more.  Both from them, whoever them are, as well as myself.  That has always been my motivation for participating in this fine and honourable echoarea.

Life is good,
Maurice

... Fus sceal feran, fæge sweltan.
    Those who are ready must go, the doomed die.
--- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)

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