From: Oleg Broytman Date: Wed, 8 Jul 2015 21:03:59 +0000 (+0300) Subject: Update docs on date/time display X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1c36a84abf307fa032c2b720994f54a36a41924c;p=extfs.d.git Update docs on date/time display --- diff --git a/torrent b/torrent index 7a45d16..a6685f0 100755 --- a/torrent +++ b/torrent @@ -27,8 +27,11 @@ contents of these files are taken from the corresponding fields in the torrent metafile. The script doesn't check if the torrent consists of a .META file or directory (quite unlikely). -Date/time for all files is set to midnight of the 1st January of the current -year. The filesystem is, naturally, read-only. +Date/time for all directories/files is set to the value of 'creation date' +field, if it exists; if not date/time is set to the last modification time of +the torrent file itself. + +The filesystem is, naturally, read-only. """ diff --git a/torrent-ANNOUNCE b/torrent-ANNOUNCE index 1a89569..b89de35 100644 --- a/torrent-ANNOUNCE +++ b/torrent-ANNOUNCE @@ -54,8 +54,11 @@ contents of these files are taken from the corresponding fields in the torrent metafile. The script doesn't check if the torrent consists of a .META file or directory (quite unlikely). -Date/time for all files is set to midnight of the 1st January of the current -year. The filesystem is, naturally, read-only. +Date/time for all directories/files is set to the value of 'creation date' +field, if it exists; if not date/time is set to the last modification time of +the torrent file itself. + +The filesystem is, naturally, read-only. AUTHOR diff --git a/torrent-ANNOUNCE-ru b/torrent-ANNOUNCE-ru index 03c9c09..bc7c11f 100644 --- a/torrent-ANNOUNCE-ru +++ b/torrent-ANNOUNCE-ru @@ -26,8 +26,11 @@ Torrent VFS .torrent. äÒÁÊ×ÅÒ ÎÅ ÐÒÏ×ÅÒÑÅÔ, ÞÔÏ ÆÁÊÌ .torrent ÓÏÓÔÏÉÔ ÉÚ ÄÉÒÅËÔÏÒÉÉ .META (ËÒÁÊÎÅ ÍÁÌÏ ×ÅÒÏÑÔÎÏ). -äÁÔÁ/×ÒÅÍÑ ×ÓÅÈ ÆÁÊÌÏ× ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÓÑ × 1-ÏÅ ÑÎ×ÁÒÑ ÔÅËÕÝÅÇÏ ÇÏÄÁ. æÁÊÌÏ×ÁÑ -ÓÉÓÔÅÍÁ, ËÏÎÅÞÎÏ, ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ. +äÁÔÁ/×ÒÅÍÑ ×ÓÅÈ ÄÉÒÅËÔÏÒÉÊ É ÆÁÊÌÏ× ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÓÑ × ÚÎÁÞÅÎÉÅ ÐÏÌÑ 'creation +date', ÅÓÌÉ ÏÎÏ ÓÕÝÅÓÔ×ÕÅÔ; ÅÓÌÉ ÔÁËÏÇÏ ÐÏÌÑ ÎÅÔ, ÄÁÔÁ/×ÒÅÍÑ ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÓÑ ÐÏ +×ÒÅÍÅÎÉ ÐÏÓÌÅÄÎÅÇÏ ÉÚÍÅÎÅÎÉÑ ÓÁÍÏÇÏ ÆÁÊÌÁ .torrent. + +æÁÊÌÏ×ÁÑ ÓÉÓÔÅÍÁ, ËÏÎÅÞÎÏ, ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ. á÷ôïò diff --git a/xml b/xml index e34ac22..0315590 100755 --- a/xml +++ b/xml @@ -27,6 +27,9 @@ names and values are reencoded to the console encoding. Text nodes and comments are collected in a file named "text", stripped and reencoded. The filesystem is read-only. +Date/time for all directories/files set to the last modification time of the +XML file. + Implementation based on minidom doesn't understand namespaces, it just shows them among other attributes. ElementTree-based implementation doesn't show namespaces at all. Implementation based on lxml.etree shows namespaces in a diff --git a/xml-ANNOUNCE b/xml-ANNOUNCE index 53d15dc..3153e24 100644 --- a/xml-ANNOUNCE +++ b/xml-ANNOUNCE @@ -55,6 +55,9 @@ names and values are reencoded to the console encoding. Text nodes and comments are collected in a file named "text", stripped and reencoded. The filesystem is read-only. +Date/time for all directories/files set to the last modification time of the +XML file. + Implementation based on minidom doesn't understand namespaces, it just shows them among other attributes. ElementTree-based implementation doesn't show namespaces at all. Implementation based on lxml.etree shows namespaces in a diff --git a/xml-ANNOUNCE-ru b/xml-ANNOUNCE-ru index 3e9d32b..f2440fd 100644 --- a/xml-ANNOUNCE-ru +++ b/xml-ANNOUNCE-ru @@ -25,6 +25,9 @@ XML VFS ÓÏÄÅÒÖÁÎÉÅ É ËÏÍÍÅÎÔÁÒÉÉ ÐÏËÁÚÙ×ÁÀÔÓÑ × ÆÁÊÌÅ "text"; ÎÁÞÁÌØÎÙÅ É ËÏÎÃÅ×ÙÅ ÐÒÏÂÅÌÙ ÕÂÉÒÁÀÔÓÑ, ÔÅËÓÔ ÐÅÒÅËÏÄÉÒÕÅÔÓÑ. æÁÊÌÏ×ÁÑ ÓÉÓÔÅÍÁ ÔÏÌØËÏ ÄÌÑ ÞÔÅÎÉÑ. +äÁÔÁ/×ÒÅÍÑ ×ÓÅÈ ÄÉÒÅËÔÏÒÉÊ É ÆÁÊÌÏ× ÕÓÔÁÎÁ×ÌÉ×ÁÅÔÓÑ ÐÏ ×ÒÅÍÅÎÉ ÐÏÓÌÅÄÎÅÇÏ +ÉÚÍÅÎÅÎÉÑ ÓÁÍÏÇÏ ÆÁÊÌÁ XML. + òÅÁÌÉÚÁÃÉÑ ÎÁ ÏÓÎÏ×Å minidom ÎÅ ÐÏÎÉÍÁÅÔ ÐÒÏÓÔÒÁÎÓÔ× ÉÍ£Î; ÐÒÏÓÔÒÁÎÓÔ×Á ÉͣΠÐÏËÁÚÙ×ÁÀÔÓÑ ÓÒÅÄÉ ÐÒÏÞÉÈ ÁÔÒÉÂÕÔÏ×. òÅÁÌÉÚÁÃÉÑ ÎÁ ÏÓÎÏ×Å ElementTree ÎÅ ÐÏËÁÚÙ×ÁÅÔ ÐÒÏÓÔÒÁÎÓÔ× ÉͣΠ×ÏÏÂÝÅ. òÅÁÌÉÚÁÃÉÑ ÎÁ ÏÓÎÏ×Å lxml.etree ÐÏËÁÚÙ×ÁÅÔ