Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

localization_date

Library that aids in the processing of date strings, appropriate to the cultural differences for the user of the app, for display purposes.

Require Extended Library: 

var localization_date = require('localization_date');

Methods

Name 

Description 

localization_date.format

Formats an RFC822 or ISO 8601 date string and displays a localized date based on the phone's preferred locale.

For example, take the thirtieth day in the month of April for the year 2013. For the US locale, the phone would display 04/30/2013. If your phone's localization setting were set to the UK and you used this library, your display would read 30/04/2013.

  • No labels