24-hour clock, calendar and number formats
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
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Android 1.0 (API 1) | iOS 2.0 |
| Permission or entitlement | Not listed | none |
| Protection level | none | none |
| How access is granted | none | none |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Not listed |
| How to take it back | Not listed | Not listed |
| Store policy | None listed | None listed |
| API | DateFormat.is24HourFormat(), Calendar.getInstance(), Settings.System.TIME_12_24 | Calendar identifier, 12 or 24 hour cycle (hourCycle iOS 16) |
| Notes | Boolean plus calendar ID | None |
Data you get
What comes back: Clock, week start, calendar
Shape: object
How often: On change
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
hour_cycle | enum | None | h12, h23 | 1 bit |
first_weekday | integer | day | 1 to 7 | exact |
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
| Type | Example | Apps |
|---|---|---|
| travel | A flight app shows departure times in 24 hour time because your phone is set that way. | Skyscanner |
| productivity | A calendar app starts the week on Monday or Sunday to match your setting. | Google Calendar, Fantastical |
| fitness | A running app shows distance and pace with your number format. | Strava |
| games | A live event in a game shows start times in your own clock style. | Fortnite |
| banking | A bank app shows amounts with the right decimal and thousands separators. | None named |
| analytics | A 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
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 3 | Rough identifying entropy, when known |
Related capabilities
Related
- Language, region and locale list. Can see your language list and region, with no prompt
Same idea on the web
- Intl locale formats. Can see the date, number and clock formats your browser uses
Sources
How well checked: Inferred from related behavior.