Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

[convert-date] - incorrect day of week

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


marty at dripdepot

Jun 15, 2009, 10:35 AM

Post #1 of 2 (523 views)
Permalink
[convert-date] - incorrect day of week

IC = 5.7.1-200905270658
PERL = 5.8.8

This....

20090617=[convert-date fmt="%A, %B %d"]20090617[/convert-date]<br>
20090618=[convert-date fmt="%A, %B %d"]20090618[/convert-date]<br>
20090619=[convert-date fmt="%A, %B %d"]20090619[/convert-date]<br>

Outputs this..... (day of week is wrong)

20090617=Sunday, June 17
20090618=Sunday, June 18
20090619=Sunday, June 19

Verified on icdevgroup demo.

--
- - -- ---- ---------------------------- --- -- - -
Marty Tennison DripDepot.com
email: marty [at] dripdepot
web: www.dripdepot.com
- -- --- --------------------------------------- --- --


_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users


peter at pajamian

Jun 15, 2009, 11:01 AM

Post #2 of 2 (467 views)
Permalink
Re: [convert-date] - incorrect day of week [In reply to]

On 06/15/2009 10:35 AM, Marty Tennison wrote:
> IC = 5.7.1-200905270658
> PERL = 5.8.8
>
> This....
>
> 20090617=[convert-date fmt="%A, %B %d"]20090617[/convert-date]<br>
> 20090618=[convert-date fmt="%A, %B %d"]20090618[/convert-date]<br>
> 20090619=[convert-date fmt="%A, %B %d"]20090619[/convert-date]<br>
>
> Outputs this..... (day of week is wrong)
>
> 20090617=Sunday, June 17
> 20090618=Sunday, June 18
> 20090619=Sunday, June 19

Thanks for the bug report and I'll have it fixed in git soon. As a
temporary workaround you can do this:

[convert-date adjust="0s" fmt="%A, %B %d"]20090617[/convert-date]
[convert-date adjust="0s" fmt="%A, %B %d"]20090618[/convert-date]
[convert-date adjust="0s" fmt="%A, %B %d"]20090619[/convert-date]



Peter

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.