spiffyCal: corrupting date when dd/mm/yyyy

David 1cog <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <df87954e06c2fcafe7c04a3884b8d8ca@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=185425#185425
----------------------------------------------------------------

This is a re-post of [url]http://forums.oscommerce.com/viewtopic.php?t=48084[/url] which quickly got buried without reply.  Sorry for the duplication but I wanted to try the Development forum in hope of one of the developers taking a look at this.

tep_snapshot-20030613 

I've set date format to dd/mm/yyyy. All works OK except spiffyCal in new_product, Date Available. 

1. Before invoking spiffyCal the display shows '0000-00-00' 
2. I click the dropdown icon for spiffyCal and select 26 Jun 2003 
3. the display now shows '26/06/2003' (so far so good) 
4. click preview 
5. the confirmation date shows 'Wednesday 03 December, 2025' 
6. click update 
7. Date Available shows '20/06/2026' (not good) 

I've spent some time trying to work out the spiffyCal code without much luck. 

Any suggestions? Have I missed something or is spiffyCal not able to cope with dd/mm/yyyy? If so, bit of a showstopper for those of us from the UK, etc. 

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.