Dear All,
"Distribution-Date" is an undocumented keyword that can be used in package description files to indicate the date when the package was last updated. This is evidenced from the source of the adoupdate.ado file.
I have not seen any package that would also specify the time besides the date. For example, all SSC packages indicate Distribution-Date in the format YYYYMMDD.
It seems from the code that the dates are compared as string literals.
I wonder if it is Ok then to timestamp the package distribution dates as
- YYYYMMDD-HHMMSS, for example?
- or perhaps YYYYMMDD-RR
- or even RRRRR?
(RR - revision number in that day, RRRRR - sequential revision number 1...inf)
This will be useful for packages that are updated multiple times per day.
Any insights and experience on this are much appreciated, especially if there are any recommendations on indication of time-zone and time-zone comparisons, in case the time component is ever interpreted as time, not just as string.
Thank you, Sergiy Radyakin
"Distribution-Date" is an undocumented keyword that can be used in package description files to indicate the date when the package was last updated. This is evidenced from the source of the adoupdate.ado file.
I have not seen any package that would also specify the time besides the date. For example, all SSC packages indicate Distribution-Date in the format YYYYMMDD.
It seems from the code that the dates are compared as string literals.
I wonder if it is Ok then to timestamp the package distribution dates as
- YYYYMMDD-HHMMSS, for example?
- or perhaps YYYYMMDD-RR
- or even RRRRR?
(RR - revision number in that day, RRRRR - sequential revision number 1...inf)
This will be useful for packages that are updated multiple times per day.
Any insights and experience on this are much appreciated, especially if there are any recommendations on indication of time-zone and time-zone comparisons, in case the time component is ever interpreted as time, not just as string.
Thank you, Sergiy Radyakin
Comment