-
Notifications
You must be signed in to change notification settings - Fork 290
Formats
Benny Neugebauer edited this page Aug 3, 2016
·
2 revisions
Format
conversation_id@sender_id@user_id@timestamp
Example
573b6978-7700-443e-9ce5-ff78b35ac590@0410795a-58dc-40d8-b216-cbc2360be21a
Wire uses "ISO 8601" for date formats, which is defined by YYYY-MM-DDThh:mm:ss.sTZD
. More on Date & Time Formats on the Web.
Example: 2015-02-26T16:15:26.478Z
Code:
-
new Date().toISOString()
->"2016-01-22T16:22:55.051Z"
-
new Date('2016-01-22T16:22:55.051Z').getTime()
->"1453479775051"
Wire uses "E.164" to verify / detect telephone numbers.
Wire uses "Version 4 UUIDs" to generate unique identifiers.
Example: c76d97fd-aafc-4ca5-954b-7cef1fb72078