• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XSLT -- RSS-feeds causing date-formatting problem...

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

I have an intriguing date-formatting problem.. the code we normally use (http://www.mayacove.com/misc/xslt_date.txt) is not working with an RSS-feed..

in RSS feed the date for some entries contain the word "yesterday", and it's messing up how the date is displayed (no month 03, something like that, is how date is displayed..)
(I know word "yesterday" in date is causing this b/c problem occurs only for dates with word "yesterday" in them..)

I was wondering if anybody has any suggestions as to what the solution here would be.. what kind of formatting I need in XSLT...

thank you very much..
 
reply
    Bookmark Topic Watch Topic
  • New Topic