2c7a691bf0
refs CNVS-19516 so you can say e.g. tz.format(date, 'time.formats.tiny') and it will choose the appropriate format string based on the locale. at the same time, use localized format string (using this new functionality) for $.dateString (and by extensions, datetimeString) instead of hard-coded english-style format strings. finally, refactor out I18nStubber javascript spec helper for testing this. test-plan: - change you profile locale to french - view a time formatted by $.datetimeString in the UI, e.g. due dates in a course's assignments page - should show with "<day> <month> <year> à <24-hour time>" rather than using "<month> <day>, <year>" and/or "<12-hour time with am/pm>" Change-Id: Ic7779917d7af5e0fe9d4ef3cd99e6f12cf141c3c Reviewed-on: https://gerrit.instructure.com/51447 Reviewed-by: Cody Cutrer <cody@instructure.com> Tested-by: Jenkins QA-Review: Jeremy Putnam <jeremyp@instructure.com> Product-Review: Jacob Fugal <jacob@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
gems | ||
guard | ||
lib | ||
public | ||
script | ||
spec | ||
.bowerrc | ||
.dockerignore | ||
.fontcustom-manifest.json | ||
.gitignore | ||
.i18nignore | ||
.jshintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Gemfile | ||
Guardfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.yml | ||
karma.conf.js | ||
package.json |
README.md
Canvas LMS
Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.
Please see our main wiki page for more information
Installation
Detailed instructions for installation and configuration of Canvas are provided on our wiki.