├── .gitattributes ├── .github └── workflows │ └── tests.yml ├── .gitignore ├── .ruby-version ├── CHANGELOG.md ├── Gemfile ├── Gemfile.lock ├── MIT-LICENSE ├── README.md ├── Rakefile ├── app ├── assets │ └── javascripts │ │ ├── local-time.js │ │ └── local-time.umd.js └── helpers │ └── local_time_helper.rb ├── lib └── local_time.rb ├── local_time.gemspec ├── package.json ├── playground ├── index.html ├── index.js ├── package.json ├── vite.config.js └── yarn.lock ├── rollup.config.js ├── src ├── calendar_date.ts ├── config │ ├── i18n.ts │ └── index.ts ├── controller.ts ├── helpers │ ├── date_parse.ts │ ├── i18n.ts │ ├── index.ts │ └── strftime.ts ├── index.ts ├── page_observer.ts ├── relative_time.ts └── utils.ts ├── test ├── helpers │ └── local_time_helper_test.rb └── javascripts │ └── src │ ├── i18n.test.js │ ├── local_time.test.js │ ├── relative_date.test.js │ ├── strftime.test.js │ ├── test_helpers.js │ └── time_ago.test.js ├── tsconfig.json ├── web-test-runner.config.mjs └── yarn.lock /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | tmp/ 2 | dist/ 3 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.3.3 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/javascripts/local-time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/app/assets/javascripts/local-time.js -------------------------------------------------------------------------------- /app/assets/javascripts/local-time.umd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/app/assets/javascripts/local-time.umd.js -------------------------------------------------------------------------------- /app/helpers/local_time_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/app/helpers/local_time_helper.rb -------------------------------------------------------------------------------- /lib/local_time.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/lib/local_time.rb -------------------------------------------------------------------------------- /local_time.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/local_time.gemspec -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/package.json -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/playground/index.js -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/playground/vite.config.js -------------------------------------------------------------------------------- /playground/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/playground/yarn.lock -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/calendar_date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/calendar_date.ts -------------------------------------------------------------------------------- /src/config/i18n.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/config/i18n.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/controller.ts -------------------------------------------------------------------------------- /src/helpers/date_parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/helpers/date_parse.ts -------------------------------------------------------------------------------- /src/helpers/i18n.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/helpers/i18n.ts -------------------------------------------------------------------------------- /src/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/helpers/index.ts -------------------------------------------------------------------------------- /src/helpers/strftime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/helpers/strftime.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/page_observer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/page_observer.ts -------------------------------------------------------------------------------- /src/relative_time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/relative_time.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/helpers/local_time_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/helpers/local_time_helper_test.rb -------------------------------------------------------------------------------- /test/javascripts/src/i18n.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/javascripts/src/i18n.test.js -------------------------------------------------------------------------------- /test/javascripts/src/local_time.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/javascripts/src/local_time.test.js -------------------------------------------------------------------------------- /test/javascripts/src/relative_date.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/javascripts/src/relative_date.test.js -------------------------------------------------------------------------------- /test/javascripts/src/strftime.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/javascripts/src/strftime.test.js -------------------------------------------------------------------------------- /test/javascripts/src/test_helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/javascripts/src/test_helpers.js -------------------------------------------------------------------------------- /test/javascripts/src/time_ago.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/test/javascripts/src/time_ago.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/tsconfig.json -------------------------------------------------------------------------------- /web-test-runner.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/web-test-runner.config.mjs -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcoroth/local-time/HEAD/yarn.lock --------------------------------------------------------------------------------