All,
We just upgraded to the most recent build of bric, and prior to that we were
using local_date() to format bric date strings, like this:
if (my $pubdate = $element->get_data('publication_date')) {
$formatted_date = local_date($pubdate, "%B %Y");
}
However, now get_data on a bric date field no longer returns an ansi date
string, it returns a typically formatted date string: Month Day, Year. Is
there any way to change what kind of date string is returned, or should I
just parse the new date string and get what I want.
Phil
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
We just upgraded to the most recent build of bric, and prior to that we were
using local_date() to format bric date strings, like this:
if (my $pubdate = $element->get_data('publication_date')) {
$formatted_date = local_date($pubdate, "%B %Y");
}
However, now get_data on a bric date field no longer returns an ansi date
string, it returns a typically formatted date string: Month Day, Year. Is
there any way to change what kind of date string is returned, or should I
just parse the new date string and get what I want.
Phil
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general