A simple date formatting package providing a variety of date formats.
Format your date into a string however you like.
Format your date
Simple way to format your date with Pipe.
Formatting Date objects as strings since 2013
Date formatting and parsing
A JavaScript time formatter and parser inspired by strftime and strptime.
Time zone support for date-fns v3 with the Intl API
Modern JavaScript date utility library
Modern JavaScript date utility library for jalali calendar
Simple way to format your date.(written in TS)
Postgres date column parser
Date module for WordPress.
Lightweight date format and parse
The simplest, most intuitive date and time library
A node.js package for Steven Levithan's excellent dateFormat() function.
A tidy ISO 8601 date formatter and parser
A logger package for use in the Firebase JS SDK
Format Your Date and Time
Format data using ECMA-376 spreadsheet Format Codes
A transport for winston which logs to a rotating file each day.
Date parser and formatter
Get device setting for time format in react-native
A moment.js plugin for formatting durations.
Make ActiveRecord understand any date format you want.
A human alternative to Time#strftime.
Rails Date formatting and parsing per request via Date.format.
Formatted Date allows you to use comfortable string arguments to format your dates.
Parse dates in any language and format by setting your own recognition patterns
LocaleDating generates wrapper methods around the attributes you want to support editing Date, Time, and DateTime values as text using the desired I18n locale format.
LittleLogFriend sets your standard logger to the format: "DATE TIME [ LEVEL ] PID : MESSAGE"
The first parameter will be language of your choice , second parameter will be your date and the last one will be the format , we have 2 predefied formats either 'b' or 'B', Pass lowercase 'b' or 'B' to format your date as per your requirement for example 'MultiLanguageDate.change('dutch', '25/02/2012', 'B')' and the output will be '25 februari 2012' default language will be english and default format will take the current date
A gem that allows you to add date only, time only and datetime pickers to your forms. This gem also takes into account the way Ruby doesn't parse certain American-friendly dates so it passes along hidden fields with the values expected by rails. When updating the values they are 'localized' using the locale file to get them into the format expected by the picker.
Leverages your app's DATE_FORMATS hash when parsing dates and times or specify your own format on a per-app, per-model, or per-attribute basis. Fails back to the default Ruby implementation.
= Livedate A simple Rack middleware that parses a dates using Chronic, and returns the result in a standardized manner. The idea is to use this to verify the input in date input fields using AJAX, to provide immediate feedback to the user. == Usage Include Livedate in your middleware stack. In Rails, this is done in environment.rb config.gem 'livedate' config.middleware.use "Livedate" Specify the desired date + datetime formats you want too. Default error message for strings that Chronic can't pass can also be provided. The defaults are: config.middleware.use "Livedate", :date_format => '%Y-%m-%d', :datetime_format => ''%Y-%m-%d %H:%M', :invalid_format => '' This will catch requests to /parsedate. Use GET requests and provide a parameter 'date' or 'datetime'. The value will be parsed by Chronic and returned formatted as 2009-01-01 or 2009-01-01 12:45, depending on the parameter name. == Scripts There are two generators available to get simple javascripts that use livedate. Both will replace the contents on input elements with classes .date or .datetime on change with the result from the Chronic parse. script/generate livedate_jquery script/generate livedate_prototype Will put the appropriate version of the script in your public/javascripts directory. Feel free to change these if you need a different behavior.
This gem is still under active development. Please contact me directly with any questions or suggestions. To start: r = RedcapAPI.new(token, url) # your institution has it's own url, and each project has it's own token r.get(optional record_id) # returns all records in JSON format or a specific record if specified r.get_fields # returns all fields for that instrument r.post(data) # this will either update an old record or create a new one. the data should be in form of array of hashes or as a hash (for one item). dates are accepted in Date class or in strftime('%F') format. for example data = {name: 'this is a test', field_2: Date.today} r.post(data) # creates a new object using the fields above. field names must match those in the existing project "{\"count\": 1}" --> indicates the object posted. to update an existing record: data = {record_id: 3, name: 'this is a test to update', field_2: Date.today} r.post(data) # this will update the record with record_id 3. if record_id 3 does not exist it will create an entry with that record id
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.