|
|
@@ -1,4 +1,11 @@
|
|
|
|
|
|
+/*
|
|
|
+GENERAL NOTE on moments throughout the *entire rest* of the codebase:
|
|
|
+All moments are assumed to be ambiguously-zoned unless otherwise noted,
|
|
|
+with the NOTABLE EXCEOPTION of start/end dates that live on *Event Objects*.
|
|
|
+Ambiguously-TIMED moments are assumed to be ambiguously-zoned by nature.
|
|
|
+*/
|
|
|
+
|
|
|
var ambigDateOfMonthRegex = /^\s*\d{4}-\d\d$/;
|
|
|
var ambigTimeOrZoneRegex =
|
|
|
/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/;
|