WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wrong date in repository WEB  (Read 3438 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Wrong date in repository WEB
« on: July 08, 2009, 12:31:33 AM »
There are strange date entries in both 2.x/1.x and tce/tcz repository tables on the WEB. In few cases date is missing, format is inconsistent or date is not displayed properly (see trunctated day in many cases) compared to date in .info file.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Wrong date in repository WEB
« Reply #1 on: July 08, 2009, 02:04:45 PM »
The proper date format is 2009/01/01 for Jan 1 2009.  (YYYY/MM/DD)

The existing info files will be corrected, and be sure to use the above format when submitting extensions.  I will add this info to the guidelines.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Wrong date in repository WEB
« Reply #2 on: July 08, 2009, 02:38:56 PM »
The proper date format is 2009/01/01 for Jan 1 2009.  (YYYY/MM/DD)

Jason,

Just talking about my extensions, for example in acpi.tce.info date is:

Current:      2009/07/03 First version

but displayed as

2009/07/0

Similar with bind.tcel.info where

Current:      2009/06/16 First version

but in the repo list

2009/06/1

Again, last digit is missing.

And so on, but I'm not the only one, see audacious.tcel published by you. In these cases date format is correct as you defined.

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Wrong date in repository WEB
« Reply #3 on: July 08, 2009, 06:03:55 PM »
I see some of my date fields are not standard, I sometimes live and learn.

As for those that are the correct format and are still not showind up right, using the tab key to create the space instead of the space bar seems to correct that.  I tested with the filezilla extension info file.

Thanks for addressing this.  I will add the tab key part in the guidelines post as well.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Wrong date in repository WEB
« Reply #4 on: July 08, 2009, 09:43:54 PM »

As for those that are the correct format and are still not showind up right, using the tab key to create the space instead of the space bar seems to correct that.  


Would be better to allow whitespace, both tab and normal space. Depending on editor used to create .info tab maybe authomatically converted to space by the editor. I do not know how the HTML page created but nearly all languages have nice string functions for that.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Wrong date in repository WEB
« Reply #5 on: July 09, 2009, 08:59:38 AM »
This issue has been corrected, no need to worry about tab or space, only proper date format.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Wrong date in repository WEB
« Reply #6 on: July 09, 2009, 10:19:29 AM »
This issue has been corrected, no need to worry about tab or space, only proper date format.

Yes, it works fine now. Thanks!
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Wrong date in repository WEB
« Reply #7 on: July 09, 2009, 11:20:23 AM »
some of the info files will need to be updated (a lot of mine) since the leading 0s are now required for the date format
Quote
2009/6/1 A
I'll submit new info files with the corrected date formats as soon as i can.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: Wrong date in repository WEB
« Reply #8 on: July 09, 2009, 11:28:59 AM »
Thanks, but don't worry about it.  I can log into ibiblio and edit the files, and I will do that soon.