Detect time format on Gear

An example showing how to detect time format (military or 12 hours) on your device with Tizen 2.3.
try {
  var timeFormat = tizen.time.getTimeFormat().indexOf('ap') >= 0 ? 12 : 24;
} catch (e) {}

Responses

0 Replies