No description
Find a file
Andrew McLeod 07cedc581d feat: Optionally remove seconds from datetime (#8531)
* fix: Add updated datepicker; fixed seconds formatting bug.
Seconds between 0 and 9 were not zero-padded.

* feat: Add framework for time format

* feat: datetime server-side formatters.

* tests: Added server-side datetime formatter tests

* feat: Update client-side datetime formatters

* tests: Add Cypress client-side formatting tests.

* fix: JSON errors

* fix: Update to not hard-code admin password

* fix: Change to using bulk_update rather than the REST API

* tests: Use Custom doctype for testing, not Standard

* fix: Codacy style fixes

* fix: Commonify update_datetime_picker in date.js, datetime.js, time.js
Fix order of time_format in System Settings
Restore get_user_fmt in utils/datetime.js

* feat: Drastically reduce scale of Cypress testing (to make tests faster)
Full testing is possible by setting 'fast_mode' to false in the spec file.

* fix: Fix issues with datepicker/timepicker expansion

* fix: typo

* style: Various style fixes as requested by DeppSource: Python

* fix: Timepicker not hiding on 'now' button. Force hiding on click.

* style: Codacy style fixes.

* fix: Use datepicker from node_modules

* test: Refactor Datetime UI tests

- cy.get_field
- cy.set_value
- cy.insert_doc with ignore_duplicate
- Nominal datetime tests to cover most formats
- Formatting with prettier

* test: Datetime UI tests; wait for cur_frm.doc.datetime to update

* tests: Add whitespace to typed input

- Clear input only for Time field

* test: Wait timeout 200

* test: Fix form test

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2019-12-25 14:54:28 +05:30
.github fix: Update stale message 2019-11-04 13:05:36 +05:30
.travis fix(minor): server script enabled 2019-10-11 14:16:49 +05:30
ci add my_config patch to travis 2014-10-12 18:54:44 +05:30
cypress feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30
frappe feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30
rollup fix(rollup): Use terser instead of uglify 2019-04-26 15:52:58 +05:30
.codacy.yml fix(minor): rename "queue" to "frequency" 2019-11-07 12:14:09 +05:30
.deepsource.toml chore: Add Deepsource 2019-10-26 18:28:11 +05:30
.eslintignore Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
.eslintrc chore: Add strip_number_groups to eslint globals 2019-10-20 09:37:49 +05:30
.gitignore fix: Undo gitignore entry 2019-02-26 16:54:55 +05:30
.mergify.yml chore: Dont merge if squash label is added (#8447) 2019-09-18 13:25:38 +05:30
.pylintrc reactor(scheduler): created "Scheduler Job Type" and cleaned up scheduler 2019-11-07 12:14:09 +05:30
.snyk fix:updated as per hotfix 2019-06-20 18:50:20 +05:30
.travis.yml fix: updated travis config 2019-11-15 13:37:50 +05:30
attributions.md Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
bandit.yml fix(tests): tests and linting 2019-02-13 16:50:34 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
cypress.json fix(ui-tests): Pick admin password from config (#7842) 2019-07-05 12:24:07 +05:30
generate_bootstrap_theme.js fix: Common scss options for theme generator and rollup scss 2019-02-19 18:04:56 +05:30
hooks.md Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
LICENSE Update LICENSE 2018-04-12 17:27:20 +05:30
Makefile [NEW] Makefile to clean cache without restart 2018-03-08 15:18:32 +05:30
node_utils.js feat(build): Log build errors in browser console (#5932) 2018-08-07 14:42:39 +05:30
package.json feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30
README.md fix: new frappe framework logo 2019-01-29 17:39:17 +05:30
requirements.txt Merge branch 'develop' into refactor-scheduler 2019-12-02 13:16:45 +05:30
SECURITY.md chore: updated Security policy and issue template 2019-10-12 12:06:36 +05:30
setup.py fix(unicode): Import unicode_literals in every file (#6805) 2019-01-25 11:56:27 +05:30
socketio.js frappe: refactor async to realtime (#6015) 2018-08-28 15:31:20 +05:30
yarn.lock feat: Optionally remove seconds from datetime (#8531) 2019-12-25 14:54:28 +05:30

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext

Table of Contents

Installation

Install via Frappe Bench

Contributing

  1. Pull Request Requirements
  2. Translations

Website

For details and documentation, see the website https://frappe.io

License

This repository has been released under the MIT License.