• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

Custom Report Date Formatting

JLo

Apprentice
Joined
Jun 20, 2012
Messages
4
Reaction score
0
I'm creating custom reports that generate iCalendar files, basically I want to have a calendar entry for the major dates that show up on the BeerSmith2 calendar, but have them exported to a .ics file.  I can hardcode the time parameters, but am unable to figure out how to format the dates such as $PRIMARY_DATE, $SECONDARY_DATE, $TERTIARY_DATE, $BOTTLING_DATE, and $END_DATE in the following format.

DTSTART:20131006T110000Z
DTEND:20131006T190000Z

Any Suggestions on how to format a date to YYYYMMDD in a text file in a report in BeerSmith2?
 
Hi
  Unfortunately I don't have any date formatting built into the custom reports.  I'll make a note to add this for a future version.

Brad
 
Use javascript to parse the beerxml tag and then reformat as needed.
 
Looks like I need an HTML file for the JavaScript to execute, and a .ics file to prompt the calendaring function.

I went with an external process for the syncing.
 
Back
Top