| Author |
|
ripper SOOP Admins


Joined: 30 April 2004
United States Posts: 425
|
| Posted: 03 March 2010 at 8:40pm | IP Logged
|
|
|
Okay I think that I am very close to finalizing GH, however I noticed on another site that if the dates are not american like mm/dd/yy and they are dd/mm/yy there is an issue with the code in the editor and the validation script that the expires date must be after the article date for instance: Article Date of: 4/3/10 in dd/mm/yy Expires Date of: 3/4/10 also in dd/mm/yy
So I would need ftp into a working test site with the latest 1.1 edition already installed, and yes I would need admin access for creating articles.
For some reason being in america and my host is also in america I can not duplicate nor fix this situation that will arise in other time formats.
If you decide to graciously help the dev team in this concept please post that you will do it, and PM me the details of the test site.
If you do have one of those funky time formats, please go to your editor and create an article using those dates above, for it is a difference of thirty days and you will notice the error.
__________________ The Rip
|
Back to Top  |
|
| |
chettsy Groupie

Joined: 30 January 2010
United Kingdom Posts: 46
|
| Posted: 03 March 2010 at 9:58pm | IP Logged
|
|
|
fill your boots pm sent
|
Back to Top  |
|
| |
pelican Dedicated Socialist


Joined: 20 December 2004
Australia Posts: 482
|
| Posted: 03 March 2010 at 10:15pm | IP Logged
|
|
|
Try personal web server. It's available on all Windows versions from XP and later except for "Home/basic versions. IIS is not installed by default but by going to Control Panel > Add Remove Programs > Windows Components you can enable/install IIS.
Then you can run Soop from http://localhost
Note that you may have to enable ASP support.
It's better than having to FTP... just copy'n'paste, and you don't have to be online... extremely fast downloads :-)
__________________ www.artistscope.com
|
Back to Top  |
|
| |
AraCam SOOP Admins

soop admins
Joined: 19 November 2004
United States Posts: 851
|
| Posted: 04 March 2010 at 6:53am | IP Logged
|
|
|
Have you tried doing the comparison on the raw numeric value we store instead of the date? I'm not sure of the details, but that should be possible...
__________________
I'm a database admin. If you see me running, save your work!
{Cranial Herbs & Rice}
|
Back to Top  |
|
| |
ripper SOOP Admins


Joined: 30 April 2004
United States Posts: 425
|
| Posted: 04 March 2010 at 7:01am | IP Logged
|
|
|
In theory it is doing just that. I think really that there is a problem with the date formatting for the LCID. The script no matter where the server is the date is trying to format as mm/dd/yy, not as it should be for instance on the wiki site as in dd/mm/yy, try it there make an article and use the dates of mar 3 2010 as the article date and apr 2 2010, in the format that the script will let you select, you will see it happen there.
__________________ The Rip
|
Back to Top  |
|
| |
AraCam SOOP Admins

soop admins
Joined: 19 November 2004
United States Posts: 851
|
| Posted: 04 March 2010 at 8:27am | IP Logged
|
|
|
Another issue is that it does not take time zone into account when it converts to integer, but it does when it converts it back to date. Could this be part of the problem, too?
__________________
I'm a database admin. If you see me running, save your work!
{Cranial Herbs & Rice}
|
Back to Top  |
|
| |
lupo SOOP Admins


Joined: 28 August 2008
Belgium Posts: 180
|
| Posted: 04 March 2010 at 9:40am | IP Logged
|
|
|
Quote: ripper In theory it is doing just that. I think really that there is a problem with the date formatting for the LCID. The script no matter where the server is the date is trying to format as mm/dd/yy, not as it should be for instance on the wiki site as in dd/mm/yy, try it there make an article and use the dates of mar 3 2010 as the article date and apr 2 2010, in the format that the script will let you select, you will see it happen there.
right ripper, i have the same issue on french IIS (european dates)
the use of the cor_iDateFormat would maybe be a solution, i mean store all dates in the database backends in mm/dd/yyyy format, and just use the cor.util.datetime method to display according the website choosen format
probably the to use plugin for visual date choice will also influence all this
i tested out this method and seems to work, even if i have to digg some more into it
imho
__________________ The good thing about reinventing the wheel is that you can get a round one.
|
Back to Top  |
|
| |
ripper SOOP Admins


Joined: 30 April 2004
United States Posts: 425
|
| Posted: 04 March 2010 at 1:00pm | IP Logged
|
|
|
Okay I have tested this out on a server and it works fine the way it is. Maybe the wiki site hasn't updated the files or something, but that doesn't make sense. Or another concept is, I need to test this on a site that uses two different LCIDs one for the site and a different one for the calendar. Takers?
__________________ The Rip
|
Back to Top  |
|
| |