Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime formatting function #39

Open
mfrederickson opened this issue Aug 7, 2014 · 0 comments
Open

datetime formatting function #39

mfrederickson opened this issue Aug 7, 2014 · 0 comments

Comments

@mfrederickson
Copy link
Contributor

A user writes: I'm pulling content from a 1.0 rss feed using xmlns:dc="http://purl.org/dc/elements/1.1/". Is there a way to change the dc:date format from 2014-08-13T17:00:00-04:00 to something like Aug. 10 4:00 pm in xslt?

It would be a good idea to add a function similar to the fn:replace function that has the ability to read a date from any format and write it in any format. Sort of like: fn:formatdate(datevar, informat, outformat)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant