Skip to main content

Posts

Showing posts from 2019

Customising Zoho CRM for solar installers and social enterprises

I'm passionate about helping companies involved in renewable energy, e.g. solar installers. I've set up Zoho CRM for 5 solar companies so far and would like to help many more. I did a degree in Environmental Science and am now focused on how I can use my programming skills to help combat climate change and solve other "wicked problems" affecting the environment and society. If you're running an organisation that makes the world a better place and you're using Zoho CRM, I'd love to help and am happy to offer discounted consulting rates. Get in touch with me at jeremy@nuanced.it

Parsing ISO 8601 timestamps with Deluge

ISO 8601 is a commonly used standard for timestamps. Here's a snippet the Zoho team gave me to make parsing them easier: timestamp_str = "2015-01-1T15:30:54+05:00";  timestamp_time = dateString.toTime("yyyy-MM-dd'T'HH:mm:ss","GMT+" + timestamp_str.getsuffix("+")); // convert to Australia/Sydney timezone timestamp_in_sydney = timestamp_time.toString("yyyy-MM-dd HH:mm:ss","GMT+10:00"); info timestamp_in_sydney; // outputs  2015-01-01 20:30:54 (5 hrs later than original timestamp as expected due to 5hr difference between time zones)