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


Присутствуют сообщения из эхоконференции FTSC_PUBLIC с датами от 13 Sep 13 18:57:24 до 01 Apr 24 01:17:44, всего сообщений: 7124
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 5303 из 7124 ====================================== FTSC_PUBLIC =
От   : Maurice Kinal                    1:153/7001         19 Dec 20 05:29:26
Кому : Alexey Vissarionov                                  19 Dec 20 05:29:26
Тема : alternative DateTime (ref: fts-0001.016)
FGHI : area://FTSC_PUBLIC?msgid=1:153/7001+5fdd8fb6
На   : area://FTSC_PUBLIC?msgid=2:5020/545+5fdd86aa
= Кодировка сообщения определена как: UTF-8 ==================================
Ответ: area://FTSC_PUBLIC?msgid=1:320/219@fidonet+5fdda911
Ответ: area://FTSC_PUBLIC?msgid=1:153/7715.0+fddc3ff0
Ответ: area://FTSC_PUBLIC?msgid=2:5020/545+5fddda91
==============================================================================
Hey Alexey!

AV> how would the software distinguish that from older (legacy) date
AV> format?

As proposed it wouldn't.  I thought I'd leave that part open to discussion and just go for the gold.  This is something that should have happened just over 20 years ago or at least in 2002 when the opportunity presented itself when the 2 digit year was declared obsolete by those in the know.

To be honest I am not aware of anyone who is using abandonware these days so I am not convinced this is really an issue if the much needed change were to actually take place.  Do you?  It seems to me that this would be a welcome addition all things considered but I do understand it would take some time to impliment.  For the software being deployed on this node it is a nobrainer and I could have it up and running in no time.  How about you?

AV> The "Date:" kludge containing the date and time in RFC-3339
AV> format with one variation - allow the space between the time and
AV> UTC offset. The "datestr" format for that would be "%F %T %:z"

I was adding it as a kludge except with this format; "%F %T %z" which is one byte less than your datestr and does indeed work with every dating routine I threw it at.  All use the strftime() function which is available to c, c++, and every half-decent scripting language I can find (perl, python, etc).  Even gawk has the strftime() function available to it.  This makes it extremely portable to every OS I can think of including Windows.

AV> (try `date '+%F %T %:z'`).

-={ date '+%F %T %:z' }=-
2020-12-19 05:49:41 +00:00

I am partial to;

-={ date '+%F %T %z' }=-
2020-12-19 05:51:23 +0000

which saves a byte and is just as useful.  I'll put it as a kludge in my followup msg.  Please stay tuned.

Life is good,
Maurice

... [Læt] þine lareowas leofe in mode þa þec geornast to gode trymmen.
    Hold your teachers dear in mind, who eagerly urge you to good.
--- GNU bash, version 5.1.0(1)-release (x86_64-motorshed-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)

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