fixed format of date passed from Java to Cocoa

in some time zones (e.g. BNT) the date wouldn't be parsed correctly and
would default to current time instead