A thin wrapper around the Moment Timezone Node.js module. Provides "Dirty Date Dealing" for processing loosely structured date and time labels that do not contain a timezone.
The Moment Timezone Node.js module builds on top of Moment's flexible and syntax tolerant date and time label parser to allow for the specification of the timezone to which the date and time labels are relative.
For more information on the parser format model tokens and the supported IANA timezones please see the Service URL.
Free
For everyone
3.0 stars • 2 ratings
197 installs
This plugin does not collect or track your personal data.
Each Server Side Action exposes a function from the Moment Timezone Node.js module.
"Parse Date Time String" accepts a dynamic date time string, and a dynamic IANA timezone name string. The function parses the date time string using the static options, or when specified the dynamic format model string. On completion it returns a JavaScript Date object and the UTC Milliseconds of the date. Returns nulls If the date time string could not be parsed or the timezone name was invalid.
"Time Zone Names" returns a list of all IANA timezone names available in the Moment Timezone module.
"Time Zones in Country" accepts a dynamic IANA country code and returns a list of all IANA timezone names available for that country in the Moment Timezone module. Returns null if the country code is invalid.
"Time Zone Properties" accepts a dynamic IANA timezone name and returns lists of the timezone abbreviations, the offsets in minutes, and the start boundaries of applicability of the offsets and abbreviations in UTC milliseconds.
Types
This plugin can be found under the following types:
Really helps with parsing and manipulating dates across multiple time zones.
Quite confused
April 6th, 2022
I believe, as it was arranged for use as a plugin in the Bubble environment. io, you should inform how to use it. It's actually quite confusing, even the notes on the dashboard itself don't give much direction on what to do, or what each field is specifically about.