You are here: System » JQMomentContrib

JQMomentContrib

A lightweight javascript date library for parsing, manipulating, and formatting dates

This package integrates the moment.js library into Foswiki.

The full API documentation is available at http://momentjs.com/docs/

Example

Enter a date string:

Submit

Result:

    Installation Instructions

    You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

    Open configure, and open the "Extensions" section. "Extensions Operation and Maintenance" Tab → "Install, Update or Remove extensions" Tab. Click the "Search for Extensions" button. Enter part of the extension name or description and press search. Select the desired extension(s) and click install. If an extension is already installed, it will not show up in the search results.

    You can also install from the shell by running the extension installer as the web server user: (Be sure to run as the webserver user, not as root!)
    cd /path/to/foswiki
    perl tools/extension_installer <NameOfExtension> install
    

    If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.

    Dependencies

    NameVersionDescription
    Foswiki::Plugins::JQueryPlugin>=4.00Required.

    Change History

    01 Mar 2024: updated to moment.js 2.30.1
    24 Jan 2024: updated to moment.js 2.29.4
    10 Apr 2022: updated to moment.js 2.29.2
    18 Nov 2019: adjust german short month names to Foswiki standard
    13 Dec 2018: updated to moment.js 2.23.0
    12 Sep 2016: updated to moment.js 2.15.0
    02 Sep 2016: updated to moment.js 2.14.1
    16 Dec 2014: fixed dependency issue in jquery module loader
    15 Mar 2014: fixed syntax error in contrib stub
    20 Feb 2013: updated to moment.js 2.0.0
    14 Jun 2012: initial release
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Middle Fork Home Wiki? Send feedback
    Syndicate this site RSS