https://github.com/loctools/simpledateformat-preview
A simplistic Java server for live-previewing SimpleDateFormat messages
https://github.com/loctools/simpledateformat-preview
i18n internationalization server
Last synced: about 1 year ago
JSON representation
A simplistic Java server for live-previewing SimpleDateFormat messages
- Host: GitHub
- URL: https://github.com/loctools/simpledateformat-preview
- Owner: loctools
- License: mit
- Created: 2019-07-19T02:55:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-31T08:31:50.000Z (over 6 years ago)
- Last Synced: 2025-03-14T16:11:58.317Z (over 1 year ago)
- Topics: i18n, internationalization, server
- Language: Java
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# About
This is a very simple web server that allows you to construct and preview [Java SimpleDateFormat](https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html)-formatted date and time, which is useful for development and localization purposes. Since it is written in Java, it is guaranteed to give you a canonical output, unlike SimpleDateFormat-compatible implementations available for other languages. It looks like this:

# Running the server
Provided you have Java installed, you can compile and run the server by using the supplied script:
$ ./run-server
Then open http://localhost:8000/ to open the web page.