Skip to Content
Platform.Ontology

24-hour clock, calendar and number formats

Reads 12 or 24 hour clock, first weekday, calendar type and number format.

Gets silentlyLanguage and settingsLocaleAndroid and iPhoneWhen the app opensWhile you use it

In one line

Can see your 12 or 24 hour clock setting, calendar type and number style

Reads 12 or 24 hour clock, first weekday, calendar type and number format.

Small habit signals that add fingerprint bits: 24 hour clock, Monday start, Hijri or Buddhist calendar.

What it can and can't do

What the user does: Nothing. It happens when the app shows dates, times or numbers

It can

  • Check for a 12 or 24 hour clock
  • Find your calendar type and first day of the week
  • Format numbers and dates the way you expect

It cannot

  • See your calendar events or contacts
  • Change your clock or calendar settings
  • Tell who you are from these settings alone, though they add to a device fingerprint

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 1.0 (API 1)iOS 2.0
Permission or entitlementNot listednone
Protection levelnonenone
How access is grantednonenone
What the user seesNot listedNot listed
How long it lastsNot listedNot listed
How to take it backNot listedNot listed
Store policyNone listedNone listed
APIDateFormat.is24HourFormat(), Calendar.getInstance(), Settings.System.TIME_12_24Calendar identifier, 12 or 24 hour cycle (hourCycle iOS 16)
NotesBoolean plus calendar IDNone

Data you get

What comes back: Clock, week start, calendar
Shape: object
How often: On change

FieldTypeUnitRangePrecision
hour_cycleenumNoneh12, h231 bit
first_weekdayintegerday1 to 7exact

Technical limits

  • Low entropy per field

The story

What it is

An app sees whether you use a 24 hour clock, which day your week starts and your calendar style.

For you

You do not see it. Apps just show dates the way you like them, like 17:30 instead of 5:30 PM. It is a convenience that also tells the app a little about where you may come from.

For makers

Makers need this to format dates and numbers correctly. Ad and anti fraud systems also use the combination as a small clue about a device. It adds only a few bits, but together with other habits it helps pick one phone out of many.

Where you see it

TypeExampleApps
travelA flight app shows departure times in 24 hour time because your phone is set that way.Skyscanner
productivityA calendar app starts the week on Monday or Sunday to match your setting.Google Calendar, Fantastical
fitnessA running app shows distance and pace with your number format.Strava
gamesA live event in a game shows start times in your own clock style.Fortnite
bankingA bank app shows amounts with the right decimal and thousands separators.None named
analyticsA tracking script adds clock and calendar to a quiet device profile, which makes two phones easier to tell apart.None named

Risks

  • Adds fingerprint bits
  • Hints at country

Android and iPhone in short

  • Android: Android apps read these through the locale and settings with no prompt.
  • iPhone: iPhone apps read these through the locale with no prompt.

Good uses and abuse

Legitimate uses

  • Date formatting

Known abuse

  • Fingerprint

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits3Rough identifying entropy, when known

Same idea on the web

Sources

How well checked: Inferred from related behavior.

On this page