An open API service indexing awesome lists of open source software.

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

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:

![preview](https://user-images.githubusercontent.com/1728158/61507483-b64bf600-a99a-11e9-816f-6555b59f1db2.gif)

# 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.